Merge pull request 'Rename the upstream php socket.' (#20) from adellam/ansible-role-wordpress:master into master
This commit is contained in:
commit
8583b44211
|
@ -1,4 +1,4 @@
|
|||
upstream php {
|
||||
upstream wp {
|
||||
{% if wordpress_phpfpm_listen_on_socket %}
|
||||
server unix:{{ item.listen }};
|
||||
{% else %}
|
||||
|
@ -133,7 +133,7 @@ server {
|
|||
location ~ \.php$ {
|
||||
include fastcgi.conf;
|
||||
fastcgi_intercept_errors on;
|
||||
fastcgi_pass php;
|
||||
fastcgi_pass wp;
|
||||
}
|
||||
|
||||
location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
|
||||
|
|
Loading…
Reference in New Issue