This repository has been archived on 2024-09-04. You can view files and clone it, but cannot push or open issues or pull requests.
arimelody.me-static/nginx.conf

26 lines
574 B
Nginx Configuration File
Raw Normal View History

2023-10-02 05:30:54 +00:00
server {
2024-02-18 17:31:10 +00:00
listen 80;
listen [::]:80;
2023-10-02 05:30:54 +00:00
2024-02-18 17:31:10 +00:00
server_name arimelody.me www.arimelody.me;
access_log logs/arimelody.log;
2023-10-02 05:30:54 +00:00
2024-02-18 17:31:10 +00:00
index index.html;
root /web/arimelody/;
2023-10-02 05:30:54 +00:00
2024-02-18 17:31:10 +00:00
client_max_body_size 0;
2023-10-14 22:26:26 +00:00
2024-02-18 17:31:10 +00:00
add_header Cache-Control "max-age=14400";
2024-01-17 03:55:48 +00:00
2024-02-18 17:31:10 +00:00
server_tokens off;
location / {
try_files $uri $uri/ $uri.html =404;
rewrite ^/music/(.*)$ https://mellodoot.com/music/$1 last;
}
location = /give_me_money {
return 301 https://smokepowered.com;
}
}