|
|
@@ -12,12 +12,12 @@ buildbot_nginx_vhosts: |
|
|
|
custom: |- |
|
|
|
location / { |
|
|
|
include proxy_params; |
|
|
|
proxy_pass http://localhost:8010; |
|
|
|
proxy_pass http://unix:/run/buildbot/{{buildbot_server_name}}.www.sock; |
|
|
|
} |
|
|
|
# Server sent event (sse) settings |
|
|
|
location /sse { |
|
|
|
proxy_buffering off; |
|
|
|
proxy_pass http://localhost:8010; |
|
|
|
proxy_pass http://unix:/run/buildbot/{{buildbot_server_name}}.www.sock; |
|
|
|
} |
|
|
|
|
|
|
|
# Websocket settings |
|
|
@@ -25,6 +25,6 @@ buildbot_nginx_vhosts: |
|
|
|
proxy_http_version 1.1; |
|
|
|
proxy_set_header Upgrade $http_upgrade; |
|
|
|
proxy_set_header Connection "upgrade"; |
|
|
|
proxy_pass http://localhost:8010; |
|
|
|
proxy_pass http://unix:/run/buildbot/{{buildbot_server_name}}.www.sock; |
|
|
|
proxy_read_timeout 6000s; |
|
|
|
} |