Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

reverse proxy (nginx)

Marcel Schramm edited this pageJan 11, 2021 ·1 revision

If you are running nginx as a reverse proxy, you need to forward both websocket connections and http.On top of that, scribblers needs the forward headers to correctly function. This is partly related to the requests scribbler does from within the JS and the client IP limit.

Here's an example configuration that has been known to work:

location / {        # WebSocket support (nginx 1.4)        proxy_http_version 1.1;        proxy_set_header Upgrade $http_upgrade;        proxy_set_header Connection "Upgrade";        proxy_read_timeout 86400;        proxy_pass http://0.0.0.0:8080;        proxy_set_header Host $host;        proxy_set_header X-Real-IP $remote_addr;        proxy_set_header X-Forward-Proto $scheme;        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;}
Clone this wiki locally

[8]ページ先頭

©2009-2025 Movatter.jp