Change the name of the upstream socket to avoid conflicts.
This commit is contained in:
parent
d6f7220715
commit
48dd3d156d
|
@ -1,4 +1,4 @@
|
|||
upstream php {
|
||||
upstream phpmyadmin {
|
||||
{% if phpmyadmin_phpfpm_listen_on_socket %}
|
||||
server unix:{{ item.listen }};
|
||||
{% else %}
|
||||
|
@ -127,12 +127,16 @@ server {
|
|||
# This is cool because no php is touched for static content.
|
||||
# include the "?$args" part so non-default permalinks doesn't break when using query string
|
||||
try_files $uri $uri/ /index.php?$args;
|
||||
{% for acl in phpmyadmin_nginx_acls %}
|
||||
{{ acl.action }} {{ acl.cidr }};
|
||||
{% endfor %}
|
||||
{{ phpmyadmin_nginx_acl_default }} all;
|
||||
}
|
||||
|
||||
location ~ \.php$ {
|
||||
include fastcgi.conf;
|
||||
fastcgi_intercept_errors on;
|
||||
fastcgi_pass php;
|
||||
fastcgi_pass phpmyadmin;
|
||||
}
|
||||
|
||||
location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
|
||||
|
|
Loading…
Reference in New Issue