GeoNetAgent, LDAPWeb, server-audit, server-connection
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

43 lines
1.2 KiB

# zabbix.gisportal.id -> Zabbix Web UI (10.100.1.42:80/zabbix)
# Deploy: /etc/nginx/conf.d/production/zabbix.conf on reverse proxy (10.100.1.24)
upstream zabbix_backend {
server 10.100.1.42:80;
keepalive 8;
}
server {
listen 80;
server_name zabbix.gisportal.id;
return 301 https://zabbix.gisportal.id$request_uri;
}
server {
listen 443 ssl;
server_name zabbix.gisportal.id;
include /etc/nginx/conf.d/ssl.conf;
add_header X-Frame-Options "SAMEORIGIN" always;
add_header X-Content-Type-Options "nosniff" always;
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
client_max_body_size 20M;
location = / {
return 301 https://$host/zabbix/;
}
location /zabbix {
proxy_pass http://zabbix_backend;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $host;
proxy_read_timeout 300s;
proxy_connect_timeout 60s;
proxy_send_timeout 300s;
}
}