diff --git a/.env.example b/.env.example index 96f1397..7c767a3 100644 --- a/.env.example +++ b/.env.example @@ -1,5 +1,2 @@ PORT=3000 HOST="0.0.0.0" - -PROXY_DOMAIN="localhost" -PROXY_PORT=3001 diff --git a/proxy.conf b/proxy.conf index 75d21f9..90929ad 100644 --- a/proxy.conf +++ b/proxy.conf @@ -2,7 +2,7 @@ server { listen 80; listen [::]:80; - server_name code-containers.localhost; + server_name localhost; location / { proxy_pass http://127.0.0.1:3000; @@ -13,7 +13,7 @@ server { listen 80; listen [::]:80; - server_name "~^(port-(?.*)\.)?(?.*)\.code-containers.localhost"; + server_name "~^(port-(?.*)\.)?(?.*)\.localhost"; location / { if ($port = "") {