nhatrai . don't merge

This commit is contained in:
2026-05-28 16:42:34 +07:00
parent 2e6117c3a5
commit ba2a298878
6 changed files with 135 additions and 0 deletions

38
nginx.conf Normal file
View File

@@ -0,0 +1,38 @@
server {
listen 7060;
server_name _;
root /usr/share/nginx/html;
index index.html;
charset utf-8;
add_header X-Content-Type-Options "nosniff" always;
location = / {
try_files /www.mewedding.vn/index.html =404;
}
location = /index.html {
try_files /www.mewedding.vn/index.html =404;
}
location /w.ladicdn.com/ {
try_files $uri =404;
expires 30d;
add_header Cache-Control "public, max-age=2592000, immutable";
}
location /www.mewedding.vn/source/ {
try_files $uri =404;
expires 30d;
add_header Cache-Control "public, max-age=2592000, immutable";
}
location /www.mewedding.vn/ {
try_files $uri $uri/ /www.mewedding.vn/index.html;
}
location / {
try_files $uri $uri/ /www.mewedding.vn/index.html;
}
}