updated nginx config
This commit is contained in:
parent
fb042156f0
commit
0fe1266671
|
@ -1,8 +1,11 @@
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
listen [::]:80;
|
listen [::]:80;
|
||||||
server_name arimelody.me www.arimelody.me;
|
|
||||||
|
|
||||||
|
server_name arimelody.me www.arimelody.me;
|
||||||
|
access_log logs/arimelody.log;
|
||||||
|
|
||||||
|
index index.html;
|
||||||
root /web/arimelody/;
|
root /web/arimelody/;
|
||||||
|
|
||||||
client_max_body_size 0;
|
client_max_body_size 0;
|
||||||
|
@ -15,4 +18,8 @@ server {
|
||||||
try_files $uri $uri/ $uri.html =404;
|
try_files $uri $uri/ $uri.html =404;
|
||||||
rewrite ^/music/(.*)$ https://mellodoot.com/music/$1 last;
|
rewrite ^/music/(.*)$ https://mellodoot.com/music/$1 last;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location = /give_me_money {
|
||||||
|
return 301 https://smokepowered.com;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue