Consolidate .env files. More work on dev containers.

This commit is contained in:
Dragory 2022-06-26 14:34:54 +03:00
parent 2a959f354c
commit 3773d659cc
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1
17 changed files with 137 additions and 106 deletions

View file

@ -4,7 +4,9 @@ server {
server_name _API_DOMAIN_;
location / {
proxy_pass backend:3000;
# Using a variable here stops nginx from crashing if the dev container is restarted or becomes otherwise unavailable
set $backend_upstream devenv;
proxy_pass http://$backend_upstream:_API_PORT_;
client_max_body_size 200M;
}
@ -23,7 +25,7 @@ server {
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name dashboard.dev.zeppelin.gg;
server_name _DASHBOARD_DOMAIN_;
root /zeppelin/dashboard/dist;