Last active
January 1, 2016 05:37
-
-
Save pzzrudlf/bee1de8b2ee6e7e6f34d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| server { | |
| listen 2030; | |
| root c:\Projects\funshop\frontend\web; | |
| location / { | |
| try_files $uri $uri/ /index.php?$query_string; | |
| index index.html index.htm index.php; | |
| } | |
| location ~ \.php$ { | |
| fastcgi_pass 127.0.0.1:9000; | |
| fastcgi_index index.php; | |
| fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
| include fastcgi_params; | |
| } | |
| } | |
| #yii2-advanced | |
| server { | |
| listen 2032; | |
| root c:/Projects/advanced/backend/web; | |
| location / { | |
| try_files $uri $uri/ /index.php?$query_string; | |
| index index.html index.htm index.php; | |
| } | |
| location ~ \.php$ { | |
| fastcgi_pass 127.0.0.1:9000; | |
| fastcgi_index index.php; | |
| fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
| include fastcgi_params; | |
| } | |
| } | |
| server { | |
| listen 2034; | |
| root c:\Projects\help; | |
| location / { | |
| index index.html index.htm index.php; | |
| } | |
| location ~ \.php$ { | |
| fastcgi_pass 127.0.0.1:9000; | |
| fastcgi_index index.php; | |
| fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
| include fastcgi_params; | |
| } | |
| } | |
| #yii2-advanced | |
| server { | |
| listen 2036; | |
| root c:\Projects\ems2\backend\web; | |
| location / { | |
| try_files $uri $uri/ /index.php?$query_string; | |
| index index.html index.htm index.php; | |
| } | |
| location ~ \.php$ { | |
| fastcgi_pass 127.0.0.1:9000; | |
| fastcgi_index index.php; | |
| fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
| include fastcgi_params; | |
| } | |
| } | |
| #demo-backend | |
| server { | |
| listen 10086; | |
| root c:/Projects/demo/backend/web; | |
| location / { | |
| try_files $uri $uri/ /index.php?$query_string; | |
| index index.html index.htm index.php; | |
| } | |
| location ~ \.php$ { | |
| fastcgi_pass 127.0.0.1:9000; | |
| fastcgi_index index.php; | |
| fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
| include fastcgi_params; | |
| } | |
| } | |
| #demo-frontend | |
| server { | |
| listen 10087; | |
| root c:/Projects/demo/frontend/web; | |
| location / { | |
| try_files $uri $uri/ /index.php?$query_string; | |
| index index.html index.htm index.php; | |
| } | |
| location ~ \.php$ { | |
| fastcgi_pass 127.0.0.1:9000; | |
| fastcgi_index index.php; | |
| 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