[Nginx] Add qhandler rewrite
[Web] Move theme header include, fixes #2267
This commit is contained in:
@@ -63,6 +63,10 @@ server {
|
||||
try_files $uri $uri/ @strip-ext;
|
||||
}
|
||||
|
||||
location /qhandler {
|
||||
rewrite ^/qhandler/(.*)/(.*) /qhandler.php?action=$1&hash=$2;
|
||||
}
|
||||
|
||||
location /edit {
|
||||
rewrite ^/edit/(.*)/(.*) /edit.php?$1=$2;
|
||||
}
|
||||
|
Reference in New Issue
Block a user