fix: nginx query parameter redirect works like node.js
This commit is contained in:
parent
8b076db25d
commit
bca9376edc
2 changed files with 38 additions and 2 deletions
|
|
@ -10,8 +10,10 @@ server {
|
|||
|
||||
add_header X-Weatherstar true always;
|
||||
|
||||
include /etc/nginx/includes/wsqs_redirect.conf;
|
||||
|
||||
location / {
|
||||
index redirect.html index.html index.htm;
|
||||
index index.html index.htm;
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue