diff options
| author | yo momma <shutup@oops.wtf> | 2026-02-03 22:05:50 +0000 |
|---|---|---|
| committer | yo momma <shutup@oops.wtf> | 2026-02-03 22:05:50 +0000 |
| commit | a5e72f0fbdedf251e90334657856f07bca725be0 (patch) | |
| tree | 2b71e48a1e07b0f4f0edcb8a154769b4069dbf98 /conf | |
| parent | 36202d8defb26f87264914f60c39c768cff3729e (diff) | |
Hump.fm: update configs and scripts
Diffstat (limited to 'conf')
| -rwxr-xr-x | conf/nginx.conf | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/conf/nginx.conf b/conf/nginx.conf index 4b2f403..47a613e 100755 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,4 +1,4 @@ -user dumpfmprod; +user humpfmprod; worker_processes 5; error_log /var/log/nginx/error.log; pid /var/run/nginx.pid; @@ -29,7 +29,7 @@ http { server { listen 80; error_page 502 = /static/error/502.html; - server_name .dump.fm; + server_name .hump.fm; client_max_body_size 15m; location /502test { @@ -38,16 +38,16 @@ http { location ~* /(avatars|images)/ { if (!-f $request_filename) { - rewrite ^(.*)$ http://dumpfm.s3.amazonaws.com$1; + rewrite ^(.*)$ https://archive.hump.fm$1; break; } - root /home/dumpfmprod/prod; + root /home/humpfmprod/prod; expires 30d; } location ~* /static/ { - root /home/dumpfmprod/prod; + root /home/humpfmprod/prod; expires 5m; } |
