Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
howto:nginx [2022/01/15 22:57] – [How to use nginx as a Reverse Proxy with Synchronet] Xerxes | howto:nginx [2022/01/17 06:59] – formating ragnarok | ||
---|---|---|---|
Line 7: | Line 7: | ||
Here is an example configuration for proxying to the machine on your network (in this example 10.0.0.10) with Synchronet BBS Webserver: | Here is an example configuration for proxying to the machine on your network (in this example 10.0.0.10) with Synchronet BBS Webserver: | ||
- | | + | server { |
- | listen | + | listen |
- | server_name | + | server_name |
- | | + | location / { |
- | proxy_set_header X-Real-IP $remote_addr; | + | proxy_set_header X-Real-IP $remote_addr; |
- | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | + | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; |
- | proxy_set_header Host $http_host; | + | proxy_set_header Host $http_host; |
- | proxy_set_header X-Forwarded-Proto $scheme; | + | proxy_set_header X-Forwarded-Proto $scheme; |
- | proxy_pass | + | proxy_pass |
- | } | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
} | } | ||
+ | ssl_certificate | ||
+ | ssl_certificate_key | ||
+ | ssl_session_cache | ||
+ | ssl_session_timeout | ||
+ | ssl_prefer_server_ciphers | ||
+ | ssl_protocols | ||
+ | ssl_ciphers | ||
+ | } | ||
===== WebSocket Service (WS/WSS) ===== | ===== WebSocket Service (WS/WSS) ===== |