Updated docer compose for selfservice fix

This commit is contained in:
Nicolai Ort 2021-03-31 19:02:51 +02:00
parent a67a5fd4e5
commit 75e9c3d618
3 changed files with 6 additions and 7 deletions

View File

@ -1,7 +1,5 @@
const config = {
baseurl: 'http://localhost:4010',
// optional params ⏬
fallback_username: 'demo',
fallback_password: 'demo',
documentserver_key: '',
prefersHashRouting: false
};

View File

@ -1,10 +1,10 @@
const config = {
// required
documentserver_key: '',
// required
baseurl: '',
// optional, will fallback to /selfservice
baseurl_selfservice: '/selfservice',
// required - with trailing slash
baseurl: 'http://localhost:4010/',
// optional - with trailing slash
baseurl_selfservice: '/selfservice/',
// optional, will fallback to /imprint
url_imprint: '',
// optional, will fallback to /privacy

View File

@ -73,6 +73,7 @@ http {
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection keep-alive;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-Prefix /selfservice;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Host $server_name;