Skip to content

Commit b9ac291

Browse files
committed
[FIX] change nginx-build workflow trigger
1 parent 7abe685 commit b9ac291

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/nginx-build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
name: TWTW Nginx Build
22
on:
33
push:
4+
branches:
5+
- 'master'
46
paths:
5-
- ./nginx
7+
- '**.conf'
68
defaults:
79
run:
810
shell: bash

nginx/nginx.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ server {
1313
proxy_http_version 1.1;
1414
proxy_set_header Upgrade $http_upgrade;
1515
proxy_set_header Connection "upgrade";
16-
proxy_read_timeout 180s;
16+
proxy_read_timeout 120s;
1717
}
1818

1919
location /api/ {

0 commit comments

Comments
 (0)