From 235159fa0e758703a7cb25aa8bae94883ef34db8 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Thu, 13 Feb 2020 10:25:14 -0500 Subject: [PATCH] rewrite nginx configuration for website --- setup-scripts/skynet-nginx.conf | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/setup-scripts/skynet-nginx.conf b/setup-scripts/skynet-nginx.conf index 54aa7113..adf2fdbc 100644 --- a/setup-scripts/skynet-nginx.conf +++ b/setup-scripts/skynet-nginx.conf @@ -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/ {