mirror of
https://github.com/robonen/canvas-3d.git
synced 2026-03-19 18:34:40 +00:00
refactor(nginx): upstream section
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
upstream backend {
|
||||
server app:3000;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 80;
|
||||
|
||||
@@ -15,7 +19,7 @@ server {
|
||||
|
||||
# reverse proxy
|
||||
location / {
|
||||
proxy_pass http://app:3000$request_uri;
|
||||
proxy_pass http://backend$request_uri;
|
||||
proxy_set_header Host $host;
|
||||
proxy_http_version 1.1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user