rewrite nginx configuration for website

This commit is contained in:
Karol Wypchlo 2020-02-13 10:25:14 -05:00
parent 5f929b0b1f
commit 235159fa0e
1 changed files with 1 additions and 7 deletions

View File

@ -8,13 +8,7 @@ server {
client_max_body_size 1000M;
#post_max_size 1000M;
proxy_read_timeout 600;
proxy_pass http://127.0.0.1:3000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
root /home/user/skynet-webportal/packages/skynet/build
}
location ^~ /api/ {