custom root folder and little fixes

This commit is contained in:
bunkerity
2020-08-22 00:12:36 +02:00
parent b14b09ad5d
commit bf605ce59d
4 changed files with 23 additions and 8 deletions

View File

@@ -747,7 +747,7 @@ include_path = ".:/usr/share/php7"
; see documentation for security issues. The alternate is to use the
; cgi.force_redirect configuration below
; http://php.net/doc-root
doc_root = /www/
doc_root = %ROOT_FOLDER%
; The directory under which PHP opens the script using /~username used only
; if nonempty.

View File

@@ -1,3 +1,3 @@
root /www;
root %ROOT_FOLDER%;
index index.html index.php;
try_files $uri $uri/ =404;