[Nginx] Add qhandler rewrite

[Web] Move theme header include, fixes #2267
This commit is contained in:
andryyy
2019-02-06 10:14:56 +01:00
parent 030d5068f3
commit 5efdf71120
2 changed files with 8 additions and 3 deletions

View File

@@ -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;
}