diff options
Diffstat (limited to 'debian/etc/nginx/sites-available/sync')
-rw-r--r-- | debian/etc/nginx/sites-available/sync | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/etc/nginx/sites-available/sync b/debian/etc/nginx/sites-available/sync new file mode 100644 index 0000000..aa4095d --- /dev/null +++ b/debian/etc/nginx/sites-available/sync @@ -0,0 +1,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"; + } +} |