Created
March 21, 2018 09:54
-
-
Save Spirans/94df66fb53cde41348f62216128cd31c 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
upstream php { | |
server BACKEND; | |
} | |
server { | |
listen 80; | |
server_name SERVER_NAME; | |
access_log /dev/stdout; | |
error_log /dev/stderr; | |
root /var/www; | |
charset utf-8; | |
location / { | |
index index.php; | |
fastcgi_pass php; | |
expires off; | |
include fastcgi_params; | |
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; | |
fastcgi_connect_timeout 60s; | |
fastcgi_read_timeout 180s; | |
fastcgi_send_timeout 180s; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment