add PHP7 for compatibility tt-rss and nextcloud
This commit is contained in:
parent
f7ef999bdf
commit
f1a0a8ac4e
@ -65,7 +65,7 @@ nginx_vhosts:
|
||||
location ~ \.php$ {
|
||||
# try_files $uri =404;
|
||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||
fastcgi_pass unix:/run/php-fpm/php-fpm.sock;
|
||||
fastcgi_pass unix:/run/php-fpm7/php-fpm.sock;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_read_timeout 800;
|
||||
fastcgi_index index.php;
|
||||
|
@ -20,7 +20,7 @@ nginx_realIP_Proxy: 192.168.1.40/24
|
||||
nginx_upstreams:
|
||||
- name: PHP-handler
|
||||
servers:
|
||||
- unix:/var/run/php-fpm/php-fpm.sock
|
||||
- unix:/var/run/php-fpm7/php-fpm.sock
|
||||
- name: archMirrorUp
|
||||
servers:
|
||||
- localhost:7001
|
||||
@ -77,7 +77,7 @@ nginx_vhosts:
|
||||
location ~ \.php$ {
|
||||
# try_files $uri =404;
|
||||
fastcgi_split_path_info ^(.+\.php)(/.+)$;
|
||||
fastcgi_pass unix:/run/php-fpm/php-fpm.sock;
|
||||
fastcgi_pass unix:/run/php-fpm7/php-fpm.sock;
|
||||
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
|
||||
fastcgi_read_timeout 800;
|
||||
fastcgi_index index.php;
|
||||
|
@ -21,6 +21,7 @@
|
||||
- {role: ansible-role-postgresql, become: yes }
|
||||
- {role: radicale , become: yes }
|
||||
- php
|
||||
- php7
|
||||
- nextcloud
|
||||
- tt-rss
|
||||
- gitea
|
||||
@ -37,6 +38,6 @@
|
||||
user: "root"
|
||||
name: "paccache job"
|
||||
hour: "4"
|
||||
Minute:"0"
|
||||
minute: "0"
|
||||
state: present
|
||||
become: true
|
Loading…
Reference in New Issue
Block a user