mirror of
https://github.com/netbymatt/ws4kp.git
synced 2026-04-14 07:39:29 -07:00
add x-weatherstar header for specific 404 detection
This commit is contained in:
@@ -4,6 +4,8 @@ server {
|
||||
|
||||
root /usr/share/nginx/html;
|
||||
|
||||
add_header X-Weatherstar true always;
|
||||
|
||||
location / {
|
||||
index redirect.html index.html index.htm;
|
||||
try_files $uri $uri/ =404;
|
||||
|
||||
Reference in New Issue
Block a user