Created
November 15, 2018 09:38
-
-
Save acuervoa/1ae7effddee21b0716fe15b5c48a5ed9 to your computer and use it in GitHub Desktop.
nginx other server php-fpm
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 80; | |
| server_name <server_name>; | |
| root /path/to/site/files/root; | |
| location ~ \.php { | |
| fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
| include fastcgi_params; | |
| fastcgi_pass 127.0.0.1:9000; | |
| fastcgi_split_path_info ^(.+\.php)(/.+)$; | |
| fastcgi_buffers 16 16k; | |
| fastcgi_buffer_size 32k; | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment