From fa0e0dca0fce9100ddd9d569bab4e21659a4da9a Mon Sep 17 00:00:00 2001 From: Viktor Baranov Date: Wed, 2 Aug 2023 19:34:36 +0300 Subject: [PATCH] Fix docker-compose with new frontend Auth0 path --- CHANGELOG.md | 2 +- docker-compose/proxy/default.conf.template | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 811490b274..8699f6026c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,7 +14,7 @@ ### Chore -- [#8100](https://github.com/blockscout/blockscout/pull/8100) - Extend docker-compose configs with new config when front is running externally +- [#8100](https://github.com/blockscout/blockscout/pull/8100), [#8103](https://github.com/blockscout/blockscout/pull/8103) - Extend docker-compose configs with new config when front is running externally
Dependencies version bumps diff --git a/docker-compose/proxy/default.conf.template b/docker-compose/proxy/default.conf.template index 3967119647..47a7b7131a 100644 --- a/docker-compose/proxy/default.conf.template +++ b/docker-compose/proxy/default.conf.template @@ -30,6 +30,14 @@ server { proxy_pass http://backend:4000; } + location /auth { + proxy_pass http://backend:4000; + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "Upgrade"; + proxy_set_header Host $host; + } + location /socket { proxy_pass http://backend:4000; proxy_http_version 1.1;