rewrite nginx configuration for website
This commit is contained in:
parent
5f929b0b1f
commit
235159fa0e
|
@ -8,13 +8,7 @@ server {
|
||||||
client_max_body_size 1000M;
|
client_max_body_size 1000M;
|
||||||
|
|
||||||
#post_max_size 1000M;
|
#post_max_size 1000M;
|
||||||
proxy_read_timeout 600;
|
root /home/user/skynet-webportal/packages/skynet/build
|
||||||
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;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
location ^~ /api/ {
|
location ^~ /api/ {
|
||||||
|
|
Reference in New Issue