Fix Docker file for backend so webserver properly listens and proxies connections

This commit is contained in:
Gabriel A. Devenyi
2024-05-23 14:59:10 -04:00
parent c3fe4a7f9e
commit d0235ed27a
3 changed files with 26 additions and 1 deletions

View File

@@ -0,0 +1,24 @@
{
"/api": {
"target": "http://backend:3000/",
"headers": {
"language": "en",
"Accept": "application/json",
"Content-Type": "application/json; charset=utf-8"
},
"secure": false,
"changeOrigin": true,
"logLevel": "debug"
},
"/secure": {
"target": "http://backend:3000/",
"headers": {
"language": "en",
"Accept": "application/json",
"Content-Type": "application/json; charset=utf-8"
},
"secure": false,
"changeOrigin": true,
"logLevel": "debug"
}
}