Discuz! Board

标题: hsm-nginx配置 [打印本页]

作者: liuyingdong    时间: 2015-12-3 11:11
标题: hsm-nginx配置
vim /usr/local/nginx/conf/nginx.conf:
server {
        listen 8888;
        location /nginx_status {
            stub_status on;
            access_log off;
            allow 127.0.0.1;
            deny all;
        }
        location /php_status {
            fastcgi_index index.php;
            fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
            include fastcgi_params;
            fastcgi_pass   127.0.0.1:9000;
            access_log off;
            allow 127.0.0.1;
            deny all;
        }
    }









欢迎光临 Discuz! Board (http://123.59.83.120:8080/) Powered by Discuz! X3.2