-
Notifications
You must be signed in to change notification settings - Fork 7
Web server configuration
deseven edited this page Mar 21, 2017
·
2 revisions
Feel free to create an issue if you need help with web server configuration.
Use .htaccess
files from the demo.
Use url.rewrite-if-not-file = ( "^(.*)$" => "index.php?$1" )
for clean urls.
Use $HTTP["url"] =~ "^/pages/" { url.access-deny = ( "" ) }
for pages directory protection, etc.
Use location / { try_files $uri $uri/ /index.php?$request_uri; }
for clean urls.
Use location ^~ /pages/ { return 403; }
for pages directory protection, etc.