Consolidate .env files. More work on dev containers.
This commit is contained in:
parent
2a959f354c
commit
3773d659cc
17 changed files with 137 additions and 106 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue