Created
December 8, 2015 21:40
-
-
Save MattKetmo/f5585bd1dbcf7ba45d16 to your computer and use it in GitHub Desktop.
FastCGI nginx config
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 fastcgi.dev; | |
location / { | |
fastcgi_pass 127.0.0.1:6000; | |
include fastcgi_params; | |
fastcgi_param CONTENT_LENGTH $content_length; | |
fastcgi_param CONTENT_TYPE $content_type; | |
fastcgi_param QUERY_STRING $query_string; | |
fastcgi_param REQUEST_METHOD $request_method; | |
fastcgi_param SCRIPT_FILENAME $document_root; | |
fastcgi_param SCRIPT_NAME $document_root$fastcgi_script_name; | |
fastcgi_param SERVER_NAME $host; | |
} | |
} |
AndrewCarterUK
commented
Dec 9, 2015
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment