This commit is contained in:
2026-05-28 16:24:47 +07:00
parent 1359817b4b
commit 7dde30748c
7 changed files with 138 additions and 2 deletions

38
nginx.conf Normal file
View File

@@ -0,0 +1,38 @@
server {
listen 6070;
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;
}
}