Answers for "check nginx configuration"

3

nginx syntax check

$ sudo nginx -t
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
Posted by: Guest on October-23-2020
1

test nginx config mac

$ sudo nginx -t              
nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok
nginx: configuration file /usr/local/etc/nginx/nginx.conf test is successful
Posted by: Guest on August-02-2021
0

nginx syntax check

$ [sudo] nginx -t
Posted by: Guest on October-23-2020
0

nginx config

# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
        location ~ \.php$ {
            fastcgi_pass   127.0.0.1:9000;
            fastcgi_index  index.php;
            fastcgi_param  SCRIPT_FILENAME  /webroot/theos.in/http$fastcgi_script_name;
            include        fastcgi_params;
        }
Posted by: Guest on June-28-2021

Browse Popular Code Answers by Language