Skip to content

Commit

Permalink
Issue #000 feat: Adding default route for merge.domain
Browse files Browse the repository at this point in the history
  • Loading branch information
rjshrjndrn committed Sep 5, 2019
1 parent 80ca08d commit 5a0ed3c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions ansible/roles/stack-proxy/templates/keycloak.conf
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,19 @@ server {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
}
location / {
rewrite ^/(.*) /$1 break;

proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Scheme $scheme;
proxy_connect_timeout 5;
proxy_send_timeout 60;
proxy_read_timeout 70;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header Connection "";
proxy_http_version 1.1;
proxy_pass http://player;
}
}

0 comments on commit 5a0ed3c

Please sign in to comment.