updated nginx config

This commit is contained in:
ari melody 2024-02-18 17:31:10 +00:00
parent fb042156f0
commit 0fe1266671
Signed by: ari
GPG key ID: CF99829C92678188

View file

@ -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;
}
} }