stable

Clone or download

Read-only

fix: Nginx and Mercure should only use ipv4

Implements request #39355 Nginx should not try ipv6 for local node realtime server How to test: - rebuild tuleap-mercure RPM $ nix-build src/additional-packages/tuleap-mercure.nix - copy and install the RPM on your web server: $ make bash-web $ rpm -Uvh --nodeps tuleap-mercure-<version>.rpm - redeploy the mercure and nginx configurations: $ tuleap-cfg site-deploy:mercure $ tuleap-cfg site-deploy:nginx $ systemctl start tuleap-mercure $ tuleap config-set feature_flag_enable_mercure_dev_kanban 1 # exit from the web container shell $ make restart-services $ make dev-clear-cache - assert that mercure listens to 127.0.0.1: $ make bash-web $ dnf install iproute $ ss -nltp realtime) - open a kanban in two browser tabs, add a card or move a card to another column. It should function with both mercure and node realtime. - The nginx error log should no longer mention that it failed to connect to upstream at [::1]:3000 and [::1]:2999 Change-Id: I6b683888ab8564dd5dd908f95f9d38520849e56f

Modified Files

Name
M src/additional-packages/tuleap-mercure/Caddyfile +1 −1 Go to diff View file
M src/etc/nginx/tuleap.d/13-mercure.conf +1 −1 Go to diff View file
M src/etc/nginx/tuleap.d/13-realtime.conf +1 −1 Go to diff View file