feat(infra/nginx): Fixed nginx redirection and fixed dockerfiles
- nginx now use "raw" proxy_pass, where it doesnt supply the $uri since if only the host is provided, nginx will handle lots of usecases - pnpm now uses the lockfile correctly - Docker: use lockfile in all steps - Docker: install the necessary packages if building from source is needed (better-sqlite3 for example)
This commit is contained in:
parent
2074f8d8f1
commit
26627cd4d7
7 changed files with 3886 additions and 5966 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#forward the post request to the microservice
|
||||
location /api/auth/ {
|
||||
proxy_pass http://auth$uri;
|
||||
proxy_pass http://auth;
|
||||
}
|
||||
|
||||
location / {
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
#forward the post request to the microservice
|
||||
location /api/user/ {
|
||||
proxy_pass http://user$uri;
|
||||
proxy_pass http://user;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue