1
0
Fork 0
forked from exozyme/nginx

Remove zabbix config since we no longer use Zabbix for monitoring

This commit is contained in:
Anthony Wang 2021-12-26 21:15:11 -06:00
parent 9154c9b1ea
commit ef015d063d
Signed by untrusted user: a
GPG key ID: BC96B00AEC5F2D76

View file

@ -1,44 +0,0 @@
server {
listen 80;
listen [::]:80;
server_name 192.168.1.13;
root /usr/share/webapps/zabbix;
index index.php;
location /zabbix/ {
if ($scheme ~ ^http:) {
rewrite ^(.*)$ https://$host$1 permanent;
}
alias /usr/share/webapps/zabbix/;
index index.php;
error_page 403 404 502 503 504 /zabbix/index.php;
location ~ \.php$ {
if (!-f $request_filename) {
return 404;
}
expires epoch;
include /etc/nginx/fastcgi_params;
fastcgi_param SCRIPT_FILENAME $request_filename;
fastcgi_intercept_errors on;
fastcgi_read_timeout 120s;
fastcgi_send_timeout 120s;
fastcgi_index index.php;
fastcgi_pass unix:/run/php-fpm/php-fpm.sock;
# fastcgi_param PHP_VALUE "
# max_execution_time=300
# max_input_time=300
# post_max_size=16M
# ";
}
location ~ \.(jpg|jpeg|gif|png|ico)$ {
access_log off;
expires 33d;
}
}
}