summaryrefslogtreecommitdiffstats
path: root/config/nginx-albumen.conf
diff options
context:
space:
mode:
authorKen <ken@jots.org>2026-05-09 04:41:03 +0000
committerKen <ken@jots.org>2026-05-09 04:41:03 +0000
commitc75beda743dfd6af63f512e928d0889d9ead3973 (patch)
treebed91fd4f9d36a905be0b1ef990457a1e37e567b /config/nginx-albumen.conf
Initial commit — Albumen photo album
Ruby/Sinatra self-hosted photo album with directory hierarchy, per-photo captions and visibility, lightbox, slideshow, admin UI, and Let's Encrypt HTTPS via Apache reverse proxy on prouter. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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;
+ }
+}