Files
vegasco/src/Vegasco-Web/webserver.conf.template

20 lines
404 B
Plaintext
Raw Normal View History

map ${services__Api__https__0} ${DOLLAR}apiUrl {
~.+ ${services__Api__https__0};
}
map ${services__Api__http__0} ${DOLLAR}apiUrl {
~.+ ${services__Api__http__0};
}
2025-06-24 19:12:29 +02:00
server {
listen 80;
location ~ ^/api/(.*) {
proxy_pass ${DOLLAR}apiUrl/${DOLLAR}1;
2025-06-24 19:12:29 +02:00
}
location / {
root /usr/share/nginx/html;
try_files ${DOLLAR}uri ${DOLLAR}uri/ /index.html =404;
}
}