19 lines
455 B
Nginx Configuration File
19 lines
455 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
server_name _;
|
|
root /srv/pda-h5;
|
|
|
|
location = /healthz {
|
|
default_type text/plain;
|
|
add_header Cache-Control "no-store" always;
|
|
return 200 "ok\n";
|
|
}
|
|
location = /pda-domestic { return 302 /pda-domestic/; }
|
|
location ^~ /pda-domestic/ {
|
|
index index.html;
|
|
try_files $uri $uri/ =404;
|
|
add_header Cache-Control "no-store" always;
|
|
}
|
|
location / { return 404; }
|
|
}
|