summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rwxr-xr-xconf/nginx.conf10
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;
}