Skip to content

Commit

Permalink
general bug fixing*
Browse files Browse the repository at this point in the history
  • Loading branch information
anatolicvs committed Feb 27, 2020
1 parent 75687c2 commit dc065d3
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ services:
- postgres
networks:
- app-network
restart: on-failure

pgadmin:
image: dpage/pgadmin4
Expand Down
19 changes: 18 additions & 1 deletion portal/nginx/nginx.conf
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@

resolver 127.0.0.1 [::];
worker_processes 1;

events {
worker_connections 1024;
}

upstream backend_gatekeeper {
server gatekeeper:4000;
Expand All @@ -17,6 +21,7 @@ server {
include /etc/nginx/mime.types;
listen 3000;
listen [::]:3000;
listen [::]:7000;
server_name _;

access_log /var/log/nginx/host.access.log;
Expand Down Expand Up @@ -46,6 +51,18 @@ server {
proxy_set_header X-Forwarded-Proto $scheme;
}

location /keycloak/auth/ {
proxy_pass http://backend_keycloak/keycloak/auth/;
proxy_set_header Host $host;

proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-Port $server_port;
proxy_set_header X-Forwarded-Proto $scheme;
}

location /source-manager/ {
proxy_pass http://backend_source_manager/;

Expand Down

0 comments on commit dc065d3

Please sign in to comment.