update sample-nginx.conf redirect to check for args
This commit is contained in:
parent
0014cf4ff2
commit
115f9a4e45
@ -75,7 +75,10 @@ server {
|
||||
|
||||
# rewrite to front controller as default rule
|
||||
location / {
|
||||
rewrite ^/(.*) /index.php?q=$uri&$args last;
|
||||
if ($is_args != "") {
|
||||
rewrite ^/(.*) /index.php?q=$uri&$args last;
|
||||
}
|
||||
rewrite ^/(.*) /index.php?q=$uri last;
|
||||
}
|
||||
|
||||
# make sure webfinger and other well known services aren't blocked
|
||||
|
Reference in New Issue
Block a user