From 3027c11ca77cbc3f215ecfd34fdaef16fd5c5bab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C6=ACHE=20=D0=AFAW=20=E2=98=A3?= Date: Sat, 30 Dec 2017 00:19:00 +0100 Subject: [PATCH] Create default --- static/default | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 static/default diff --git a/static/default b/static/default new file mode 100644 index 0000000..8bbf8cd --- /dev/null +++ b/static/default @@ -0,0 +1,22 @@ +server { + listen 80 default_server; + root /hostdata/default/public_html; + index index.html; + server_name localhost; + + + location / { + access_log /hostdata/default/logs/access.log main; + error_log /hostdata/default/logs/error.log; + + try_files $uri $uri/ =404; + } + + location ~ \.php { + try_files $uri /index.php =404; + fastcgi_pass 127.0.0.1:9000; + fastcgi_index index.php; + fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; + include fastcgi_params; + } +}