daily pastebin goal
52%
SHARE
TWEET

Untitled

a guest Feb 6th, 2019 5 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. server {
  2.     listen 443 ssl;
  3.     listen [::]:443 ssl;
  4.     server_name mopidy.example.com;
  5.  
  6.     include snippets/example.com-common.conf;
  7.     include snippets/cloudflare-ips.conf;
  8.  
  9.     location / {
  10.         error_log /var/log/nginx/mopidy-websocket-debug.log debug;
  11.         proxy_connect_timeout 36000s;
  12.         proxy_send_timeout 36000s;
  13.         proxy_read_timeout 36000s;
  14.         proxy_http_version 1.1;
  15.         proxy_set_header Upgrade $http_upgrade;
  16.         proxy_set_header Connection $http_connection;
  17.         proxy_set_header Host $http_host;
  18.         proxy_set_header X-Real-IP $remote_addr;
  19.         proxy_set_header X-Forwarded-Proto $scheme;
  20.         proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
  21.         proxy_pass http://localhost:6680/mopidy/ws;
  22.     }
  23. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top