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