Fix support for https and http endpoints
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,9 +1,17 @@
|
||||
map ${services__Api__https__0} ${DOLLAR}apiUrl {
|
||||
~.+ ${services__Api__https__0};
|
||||
map "write-something-here-so-it-is-not-empty" ${DOLLAR}httpsUrl {
|
||||
default "${services__Api__https__0}";
|
||||
}
|
||||
|
||||
map ${services__Api__http__0} ${DOLLAR}apiUrl {
|
||||
~.+ ${services__Api__http__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 {
|
||||
|
||||
Reference in New Issue
Block a user