Adding the /login endpoint to nginx configuration template during deploy process (#122)
This commit is contained in:
parent
05cf489398
commit
eabe496fbd
|
|
@ -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
|
||||
Loading…
Reference in New Issue
Block a user