blob: 43fa82e66a1005efe42d6132927f2be93c5ffa6a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
server {
listen 443 ssl default_server;
listen [::]:443 ssl default_server;
http2 on;
root ${icingaweb_webroot};
index index.php index.html;
ssl_certificate ${icingaweb_https_cert};
ssl_certificate_key ${icingaweb_https_key};
add_header Strict-Transport-Security "max-age=63072000" always;
auth_gss_keytab ${nginx_keytab};
auth_gss_allow_basic_fallback off;
auth_gss on;
satisfy any;
$(printf ' deny %s;\n' $kerberized_cidrs)
allow all;
location ~ ^/index\.php(.*)$ {
fastcgi_pass unix:${icingaweb_fpm_socket};
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME ${icingaweb_webroot}/index.php;
fastcgi_param ICINGAWEB_CONFIGDIR ${icingaweb_conf_dir};
}
location ~ ^/(.+)? {
index index.php;
try_files \$1 \$uri \$uri/ /index.php\$is_args\$args;
}
}
|