mirror of
https://github.com/MatteZ02/infra.git
synced 2026-10-22 16:05:00 +00:00
Update 000-default.conf
This commit is contained in:
1 parent
bade8f8fcd
commit
05670ea571
1 file changed
+9
-1
@@ -64,8 +64,16 @@ server {
|
||||
gzip_types *;
|
||||
gunzip on;
|
||||
|
||||
location /api/ {
|
||||
proxy_pass http://127.0.0.1:3000/api/;
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
}
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:3000/;
|
||||
proxy_pass http://127.0.0.1:5000/;
|
||||
proxy_set_header Host $http_host;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
|
||||
Reference in new issue
Block a user