Get oauth proxy port from the configs

This commit is contained in:
Girish Ramakrishnan
2015-09-16 10:01:31 -07:00
parent d749756b53
commit 2719c4240f
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ server {
}
<% } else if ( endpoint === 'oauthproxy' ) { %>
proxy_pass http://127.0.0.1:4000;
proxy_pass http://127.0.0.1:3003;
proxy_set_header X-Cloudron-Proxy-Port <%= port %>;
<% } else if ( endpoint === 'app' ) { %>
proxy_pass http://127.0.0.1:<%= port %>;