-
-
Save anonymous/423cbe11f91e4d342dd6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
worker_processes 8; | |
events { | |
worker_connections 1024; | |
} | |
http { | |
root htdocs; | |
include mime.types; | |
add_before_body /subsites/dropletlocal/library/global/func-global.class.php; | |
server { | |
listen 80; | |
server_name localhost; | |
location / { | |
root htdocs/subsites/dropletlocal; | |
index proxy.php; | |
} | |
location ~ \.php$ { | |
root htdocs/subsites/dropletlocal; | |
fastcgi_pass 127.0.0.1:9000; | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
include fastcgi_params; | |
} | |
} | |
server { | |
listen 80; | |
server_name ***.es.vc; | |
location / { | |
root htdocs/frontend; | |
index index.php; | |
} | |
location ~ \.php$ { | |
root htdocs/frontend; | |
fastcgi_pass 127.0.0.1:9000; | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
include fastcgi_params; | |
} | |
} | |
server { | |
listen 80; | |
server_name ***.es.vc; | |
location / { | |
root htdocs/subsites/***; | |
index index.php; | |
} | |
location ~ \.php$ { | |
root htdocs/subsites/***; | |
fastcgi_pass 127.0.0.1:9000; | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
include fastcgi_params; | |
} | |
} | |
server { | |
listen 80; | |
server_name ***.es.vc; | |
location / { | |
root htdocs/subsites/***; | |
index index.php; | |
} | |
location ~ \.php$ { | |
root htdocs/subsites/***; | |
fastcgi_pass 127.0.0.1:9000; | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
include fastcgi_params; | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment