Merge pull request 'Rename the upstream php socket.' (#20) from adellam/ansible-role-wordpress:master into master

This commit is contained in:
Andrea Dell'Amico 2020-11-19 15:14:15 +01:00
commit 8583b44211
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
upstream php { upstream wp {
{% if wordpress_phpfpm_listen_on_socket %} {% if wordpress_phpfpm_listen_on_socket %}
server unix:{{ item.listen }}; server unix:{{ item.listen }};
{% else %} {% else %}
@ -133,7 +133,7 @@ server {
location ~ \.php$ { location ~ \.php$ {
include fastcgi.conf; include fastcgi.conf;
fastcgi_intercept_errors on; fastcgi_intercept_errors on;
fastcgi_pass php; fastcgi_pass wp;
} }
location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ { location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {