Add support for https and http api url environment variable
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-06-27 19:50:42 +02:00
parent af661632cc
commit 9595bedd8e

View File

@@ -1,8 +1,16 @@
map ${services__Api__https__0} ${DOLLAR}apiUrl {
~.+ ${services__Api__https__0};
}
map ${services__Api__http__0} ${DOLLAR}apiUrl {
~.+ ${services__Api__http__0};
}
server { server {
listen 80; listen 80;
location ~ ^/api/(.*) { location ~ ^/api/(.*) {
proxy_pass ${services__Api__https__0}/$1; proxy_pass ${DOLLAR}apiUrl/${DOLLAR}1;
} }
location / { location / {