Updated docer compose for selfservice fix
This commit is contained in:
		@@ -1,7 +1,5 @@
 | 
			
		||||
const config = {
 | 
			
		||||
	baseurl: 'http://localhost:4010',
 | 
			
		||||
	// optional params ⏬
 | 
			
		||||
	fallback_username: 'demo',
 | 
			
		||||
	fallback_password: 'demo',
 | 
			
		||||
	documentserver_key: '',
 | 
			
		||||
	prefersHashRouting: false
 | 
			
		||||
};
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user