Skip to content

Commit 2debeed

Browse files
committed
Configure nginx to connect to upstream backends over IPv4 only
1 parent c89ccd8 commit 2debeed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/mediaserver/templates/mediaserver.conf.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ server {
6262
{% set container = containers[name] %}
6363

6464
location /{{ name }}/ {
65-
proxy_pass http://localhost:{{ container.port }}/{% if name != "qbittorrent" %}{{ name }}/{% endif %};
65+
proxy_pass http://127.0.0.1:{{ container.port }}/{% if name != "qbittorrent" %}{{ name }}/{% endif %};
6666

6767
proxy_http_version 1.1;
6868
proxy_set_header Upgrade $http_upgrade;

0 commit comments

Comments
 (0)