# Webinoly Admin-Tools NGINX CONFIGURATION # WebinolyNginxServerStart server { listen 22222 default_server deferred; listen [::]:22222 default_server; access_log /var/log/nginx/22222.access.log we_log; error_log /var/log/nginx/22222.error.log; root /var/www/22222/htdocs; index index.php index.htm index.html; # Turn on directory listing autoindex on; # HTTP Authentication on port 22222 include common/acl.conf; # PHP Support include common/php.conf; include common/locations.conf; # Status pages location = /nginx_status { stub_status on; access_log off; } location ~ ^/(status|ping)$ { include fastcgi_params; fastcgi_pass php; } # Display menu at location /fpm/status/ location = /fpm/status/ {} location ~ /fpm/status/(.*) { try_files $uri =404; include fastcgi_params; fastcgi_param SCRIPT_NAME /status; fastcgi_pass $1; } } # WebinolyNginxServerEnd