Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Last revisionBoth sides next revision | ||
howto:nginx [2022/01/17 07:00] – more formating ragnarok | howto:nginx [2022/01/17 07:01] – more formating ragnarok | ||
---|---|---|---|
Line 32: | Line 32: | ||
Here is an example configuration for proxying to WS: | Here is an example configuration for proxying to WS: | ||
- | | + | |
- | listen | + | |
- | | + | |
- | proxy_set_header X-Real-IP $remote_addr; | + | |
- | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | + | |
- | proxy_set_header Host $http_host; | + | |
- | proxy_set_header X-Forwarded-Proto $scheme; | + | |
- | proxy_pass | + | |
- | | + | |
| | ||
| |