add x-weatherstar header for specific 404 detection
This commit is contained in:
parent
6ff7122844
commit
51bb9696b0
3 changed files with 21 additions and 4 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue