move icinga2 to new host
This commit is contained in:
parent
99e261fe24
commit
e6e9e425fc
7 changed files with 123 additions and 1 deletions
15
data/icinga2/icingaweb2_nginx.conf
Normal file
15
data/icinga2/icingaweb2_nginx.conf
Normal file
|
@ -0,0 +1,15 @@
|
|||
location ~ \.php$ {
|
||||
include fastcgi.conf;
|
||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||
fastcgi_pass unix:/run/php/php8.2-fpm.sock;
|
||||
fastcgi_param SCRIPT_FILENAME /usr/share/icingaweb2/public/index.php;
|
||||
fastcgi_param ICINGAWEB_CONFIGDIR /etc/icingaweb2;
|
||||
}
|
||||
|
||||
location = / {
|
||||
return 301 https://$host/authentication/login;
|
||||
}
|
||||
|
||||
location / {
|
||||
try_files $1 $uri $uri/ /index.php$is_args$args;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue