Skip to content

Commit

Permalink
Merge pull request #3788 from mercedes-benz/feature-3786-server-acces…
Browse files Browse the repository at this point in the history
…s-from-web-ui

server access from web-ui enabled #3786
  • Loading branch information
sven-dmlr authored Jan 13, 2025
2 parents 10235bc + d9438b3 commit 1d7e321
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
- from:
- podSelector:
matchLabels:
name: web-server # Allow SecHub Web-UI access
name: web-ui # Allow SecHub Web-UI access
ports:
- protocol: TCP
port: 8443
Expand Down
8 changes: 4 additions & 4 deletions sechub-web-ui-solution/docker/nginx/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,22 @@ http {
}

location /api {
proxy_pass https://web-server:4443/api;
proxy_pass https://sechub-server-internal:8443/api;
include sechub_proxy_settings.conf;
}

location /error {
proxy_pass https://web-server:4443/error;
proxy_pass https://sechub-server-internal:8443/error;
include sechub_proxy_settings.conf;
}

location /login {
proxy_pass https://web-server:4443/login;
proxy_pass https://sechub-server-internal:8443/login;
include sechub_proxy_settings.conf;
}

location /oauth2 {
proxy_pass https://web-server:4443/oauth2;
proxy_pass https://sechub-server-internal:8443/oauth2;
include sechub_proxy_settings.conf;
}

Expand Down

0 comments on commit 1d7e321

Please sign in to comment.