Ok, slight change to the nginx stuff

This commit is contained in:
Ubergeek 2019-07-01 12:01:40 +00:00
parent ec2c9ec4e6
commit 0c3052499a
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ Something along these lines ~should~ work:
location / {
# This is cool because no php is touched for static content.
# include the "?$args" part so non-default permalinks doesn't break when using query string
try_files $uri $uri/ /index.php?$args;
try_files $uri $uri/ /wiki.php?page=$uri;
}
Once that's all set, you can start editing articles. Main.md is always the landing page.