summaryrefslogtreecommitdiff
path: root/debian/etc/nginx/sites-available/sync
blob: aa4095d2f480cb525e9380bc71d3cc5fb67c36f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
server {
  listen 80;
  listen [::]:80;

  # server_name example.com

  location /sync/ {
    proxy_pass http://unix:/run/sync/httpd/sync-http.sock;
    proxy_redirect off;
    proxy_set_header Host $host;
    #proxy_set_header X-Forwarded-Host "example.com";
    #proxy_set_header X-Forwarded-Proto "https";
  }
}