Update nginx.conf

This commit is contained in:
chenc 2023-11-02 17:01:57 +08:00
parent f5863c6f1e
commit 357c281591

View File

@ -78,29 +78,29 @@ lua_shared_dict my_limit_req_store1 100m;
stub_status on; stub_status on;
access_log off; access_log off;
} }
# location ~ ^/(status_73|ping_73)$ { location ~ ^/(status_73|ping_73)$ {
# access_log off; access_log off;
# fastcgi_pass php73:9000; fastcgi_pass php73:9000;
# fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
# include fastcgi.conf; include fastcgi.conf;
# } }
# location ~ ^/(status_74|ping_74)$ { # location ~ ^/(status_74|ping_74)$ {
# access_log off; # access_log off;
# fastcgi_pass php74:9000; # fastcgi_pass php74:9000;
# fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; # fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
# include fastcgi.conf; # include fastcgi.conf;
# } # }
location ~ ^/(status_81|ping_81)$ { # location ~ ^/(status_81|ping_81)$ {
access_log off; # access_log off;
fastcgi_pass php81:9000; # fastcgi_pass php81:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; # fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi.conf; # include fastcgi.conf;
} # }
location /aix-agent { location /aix-agent {
proxy_pass http://10.12.25.1:10115/; proxy_pass http://10.12.25.1:10115/;
} }
location ~ [^/]\.php(/|$) { location ~ [^/]\.php(/|$) {
fastcgi_pass php81:9000; fastcgi_pass php73:9000;
#fastcgi_pass unix:/dev/shm/php-cgi.sock; #fastcgi_pass unix:/dev/shm/php-cgi.sock;
fastcgi_index index.php; fastcgi_index index.php;
include fastcgi.conf; include fastcgi.conf;