Created
January 1, 2018 05:18
-
-
Save 00dani/bb75b0822e1d2da2f6a40367bd406978 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
server_name syncthing.dev; | |
listen 4443 ssl http2; | |
listen [::]:4443 ssl http2; | |
allow 127.0.0.1; | |
allow ::1; | |
deny all; | |
location / { | |
proxy_pass http://localhost:8384; | |
proxy_set_header Host "localhost"; | |
proxy_read_timeout 10h; | |
proxy_send_timeout 10h; | |
} | |
ssl_certificate /etc/ssl/dani-mac/int-1/store/syncthing.dev/live/syncthing.dev.chained.crt.pem; | |
ssl_certificate_key /etc/ssl/dani-mac/int-1/store/syncthing.dev/live/syncthing.dev.key.pem; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment