Create default
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user