Just go with one environment variable
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -1,24 +1,8 @@
|
||||
map "write-something-here-so-it-is-not-empty" ${DOLLAR}httpsUrl {
|
||||
default "${services__Api__https__0}";
|
||||
}
|
||||
|
||||
map "write-something-here-so-it-is-not-empty" ${DOLLAR}httpUrl {
|
||||
default "${services__Api__http__0}";
|
||||
}
|
||||
|
||||
map ${DOLLAR}httpUrl ${DOLLAR}apiUrl {
|
||||
~(.+) ${DOLLAR}1;
|
||||
}
|
||||
|
||||
map ${DOLLAR}httpsUrl ${DOLLAR}apiUrl {
|
||||
~(.+) ${DOLLAR}1;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
|
||||
location ~ ^/api/(.*) {
|
||||
proxy_pass ${DOLLAR}apiUrl/${DOLLAR}1;
|
||||
proxy_pass ${apiUrl}/${DOLLAR}1;
|
||||
}
|
||||
|
||||
location / {
|
||||
|
||||
Reference in New Issue
Block a user