Adding the /login endpoint to nginx configuration template during deploy process (#122)

This commit is contained in:
Arpit Mohan 2020-07-17 18:31:14 +05:30 committed by GitHub
parent 05cf489398
commit eabe496fbd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -57,6 +57,10 @@ $NGINX_SSL_CMNT server_name $custom_domain ;
location /oauth2 {
proxy_pass http://appsmith-internal-server:8080;
}
location /login {
proxy_pass http://appsmith-internal-server:8080;
}
}
$NGINX_SSL_CMNT server {
@ -106,8 +110,12 @@ $NGINX_SSL_CMNT location /oauth2 {
$NGINX_SSL_CMNT proxy_pass http://appsmith-internal-server:8080;
$NGINX_SSL_CMNT }
$NGINX_SSL_CMNT
$NGINX_SSL_CMNT location /login {
$NGINX_SSL_CMNT proxy_pass http://appsmith-internal-server:8080;
$NGINX_SSL_CMNT }
$NGINX_SSL_CMNT
$NGINX_SSL_CMNT }
' > nginx_app.conf
sed -in "s/\$NGINX_SSL_CMNT/$NGINX_SSL_CMNT/g" nginx_app.conf
sed -in "s/\$custom_domain/$custom_domain/g" nginx_app.conf
sed -i "s/\$NGINX_SSL_CMNT/$NGINX_SSL_CMNT/g" nginx_app.conf
sed -i "s/\$custom_domain/$custom_domain/g" nginx_app.conf