Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- server {
- listen 443 ssl;
- listen [::]:443 ssl;
- server_name mopidy.example.com;
- include snippets/example.com-common.conf;
- include snippets/cloudflare-ips.conf;
- location / {
- error_log /var/log/nginx/mopidy-websocket-debug.log debug;
- proxy_connect_timeout 36000s;
- proxy_send_timeout 36000s;
- proxy_read_timeout 36000s;
- proxy_http_version 1.1;
- proxy_set_header Upgrade $http_upgrade;
- proxy_set_header Connection $http_connection;
- proxy_set_header Host $http_host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-Proto $scheme;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- proxy_pass http://localhost:6680/mopidy/ws;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement