Created
December 18, 2018 09:41
-
-
Save dmthuc/909c51982034ab5a635e45bd0d2058d8 to your computer and use it in GitHub Desktop.
virtual host fcgi configuration with separate access log and error log
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
/etc/nginx//conf.d/nginx.conf | |
server { | |
listen 9106; | |
error_log /var/log/nginx/thuc_test_fcgi.log; | |
access_log /var/log/nginx/thuc_test_fcgi_access.log; | |
location / { | |
include fastcgi_params; | |
fastcgi_param SCRIPT_FILENAME $fastcgi_script_name; | |
fastcgi_pass 127.0.0.1:9105; | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment