summaryrefslogtreecommitdiffstats
path: root/config/nginx-albumen.conf
diff options
context:
space:
mode:
Diffstat (limited to 'config/nginx-albumen.conf')
-rw-r--r--config/nginx-albumen.conf18
1 files changed, 18 insertions, 0 deletions
diff --git a/config/nginx-albumen.conf b/config/nginx-albumen.conf
new file mode 100644
index 0000000..d540bcd
--- /dev/null
+++ b/config/nginx-albumen.conf
@@ -0,0 +1,18 @@
+server {
+ listen 80;
+ server_name albumen.jots.org;
+
+ client_max_body_size 0; # no limit for large video uploads via rsync
+ proxy_read_timeout 300s;
+ proxy_send_timeout 300s;
+
+ location / {
+ proxy_pass http://127.0.0.1:4567;
+ proxy_http_version 1.1;
+ 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_buffering off;
+ }
+}