1
0
mirror of https://github.com/robonen/canvas-3d.git synced 2026-03-20 02:44:40 +00:00

Merge pull request #10 from robonen/fix

refactor(nginx): upstream section
This commit is contained in:
2022-11-22 04:25:48 +07:00
committed by GitHub

View File

@@ -1,3 +1,7 @@
upstream backend {
server app:3000;
}
server { server {
listen 80; listen 80;
@@ -15,7 +19,7 @@ server {
# reverse proxy # reverse proxy
location / { location / {
proxy_pass http://app:3000$request_uri; proxy_pass http://backend$request_uri;
proxy_set_header Host $host; proxy_set_header Host $host;
proxy_http_version 1.1; proxy_http_version 1.1;