We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8530f95 commit 87639efCopy full SHA for 87639ef
1 file changed
installer/templates/front-end.go
@@ -15,9 +15,19 @@ const FrontEnd string = `server {
15
set $utmstack_agent_manager http://agentmanager:8080;
16
set $utmstack_backend_auth http://backend:8080/api/authenticate;
17
set $utmstack_ws http://backend:8080/ws;
18
+ set $utmstack_saml2 http://backend:8080/login/saml2/;
19
set $shared_key {{.SharedKey}};
20
set $shared_key_header $http_x_shared_key;
21
22
+ location /login/saml2/ {
23
+ proxy_pass $utmstack_saml2
24
+ proxy_http_version 1.1;
25
+ proxy_set_header Host $host;
26
+ proxy_set_header X-Real-IP $remote_addr;
27
+ proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
28
+ proxy_set_header X-Forwarded-Proto $scheme;
29
+ }
30
+
31
location /api {
32
proxy_pass $utmstack_backend;
33
proxy_set_header Host $host;
0 commit comments