webinoly/templates/nginx/22222
Cristhian Martínez Ochoa e0f7aeaf03 templates and conf updated
Nginx Conf updated.
More protection to prevent DOS attacks.
Skip cache for more cart and sitemap plugins.
2018-06-22 08:53:29 -06:00

47 lines
913 B
Plaintext

# 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