icinga: update for bullseye
This commit is contained in:
parent
6b3f6ae80b
commit
1de1c7e7ea
@ -11,6 +11,7 @@
|
|||||||
- name: Install icinga
|
- name: Install icinga
|
||||||
apt:
|
apt:
|
||||||
name:
|
name:
|
||||||
|
- php-fpm
|
||||||
- php-pgsql
|
- php-pgsql
|
||||||
- icinga2
|
- icinga2
|
||||||
- icinga2-ido-pgsql
|
- icinga2-ido-pgsql
|
||||||
@ -93,5 +94,5 @@
|
|||||||
file: src=/etc/nginx/sites-available/icinga dest=/etc/nginx/sites-enabled/icinga state=link
|
file: src=/etc/nginx/sites-available/icinga dest=/etc/nginx/sites-enabled/icinga state=link
|
||||||
notify: Restart nginx
|
notify: Restart nginx
|
||||||
|
|
||||||
- name: Start php7.3-fpm
|
- name: Start php7.4-fpm
|
||||||
service: name=php7.3-fpm state=started enabled=yes
|
service: name=php7.4-fpm state=started enabled=yes
|
||||||
|
@ -19,7 +19,7 @@ server {
|
|||||||
ssl_certificate /etc/nginx/ssl/{{ icinga_domain }}.crt;
|
ssl_certificate /etc/nginx/ssl/{{ icinga_domain }}.crt;
|
||||||
|
|
||||||
location ~ ^/icingaweb2/index\.php(.*)$ {
|
location ~ ^/icingaweb2/index\.php(.*)$ {
|
||||||
fastcgi_pass unix:/var/run/php/php7.3-fpm.sock;
|
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
|
||||||
fastcgi_index index.php;
|
fastcgi_index index.php;
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
fastcgi_param SCRIPT_FILENAME /usr/share/icingaweb2/public/index.php;
|
fastcgi_param SCRIPT_FILENAME /usr/share/icingaweb2/public/index.php;
|
||||||
|
Loading…
Reference in New Issue
Block a user