forked from exozyme/nginx
Remove zabbix config since we no longer use Zabbix for monitoring
This commit is contained in:
parent
9154c9b1ea
commit
ef015d063d
1 changed files with 0 additions and 44 deletions
44
zabbix.conf
44
zabbix.conf
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in a new issue