diff --git a/.github/workflows/nginx-build.yml b/.github/workflows/nginx-build.yml index 08b93cf..62cad2e 100644 --- a/.github/workflows/nginx-build.yml +++ b/.github/workflows/nginx-build.yml @@ -1,8 +1,10 @@ name: TWTW Nginx Build on: push: + branches: + - 'master' paths: - - ./nginx + - '**.conf' defaults: run: shell: bash diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 300c65f..933ad01 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -13,7 +13,7 @@ server { proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; - proxy_read_timeout 180s; + proxy_read_timeout 120s; } location /api/ {