39 lines
857 B
Nginx Configuration File
39 lines
857 B
Nginx Configuration File
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;
|
|
}
|
|
}
|