Skip to content

Commit

Permalink
Configure nginx to connect to upstream backends over IPv4 only
Browse files Browse the repository at this point in the history
  • Loading branch information
HadrienPatte committed Jan 11, 2025
1 parent c89ccd8 commit 2debeed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/mediaserver/templates/mediaserver.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ server {
{% set container = containers[name] %}

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

proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
Expand Down

0 comments on commit 2debeed

Please sign in to comment.