sync (315B)
1 server { 2 listen 80; 3 listen [::]:80; 4 5 # server_name example.com 6 7 location /sync/ { 8 proxy_pass http://unix:/run/sync/httpd/sync-http.sock; 9 proxy_redirect off; 10 proxy_set_header Host $host; 11 #proxy_set_header X-Forwarded-Host "example.com"; 12 #proxy_set_header X-Forwarded-Proto "https"; 13 } 14 }