From 1694e1cdb00e4ec6e5bfe9152ac0c14130fbdeff Mon Sep 17 00:00:00 2001 From: Alexey Skobkin Date: Tue, 15 Mar 2022 03:43:26 +0300 Subject: [PATCH] metube. Adding Nginx config. --- metube/nginx/syncthing.conf | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 metube/nginx/syncthing.conf diff --git a/metube/nginx/syncthing.conf b/metube/nginx/syncthing.conf new file mode 100644 index 0000000..3a3a861 --- /dev/null +++ b/metube/nginx/syncthing.conf @@ -0,0 +1,18 @@ +server { + listen 80; + server_name metube.domain.tld; + + #charset utf-8; + + location / { + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + + proxy_read_timeout 600s; + proxy_send_timeout 600s; + + proxy_pass http://127.0.0.1:8081/; + } +}