Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also .

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also .
  • 1 commit
  • 1 file changed
  • 0 commit comments
  • 1 contributor
Showing with 30 additions and 2 deletions.
  1. +30 −2 data/router/build.conf
@@ -14,9 +14,37 @@ server {

ssl_certificate /etc/letsencrypt/live/build.haiku-os.org/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/build.haiku-os.org/privkey.pem;
location /buildbot {

# put a one day session timeout for websockets to stay longer
ssl_session_cache shared:SSL:10m;
ssl_session_timeout 1440m;

# force https
add_header Strict-Transport-Security "max-age=31536000; includeSubdomains;";

proxy_set_header HOST $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-Host $host;

location /buildbot/ {
proxy_bind $server_addr;
proxy_pass http://infrastructure_buildbot_1:80;
proxy_pass http://infrastructure_buildbot_1:80/;
}
location /buildbot/sse/ {
# proxy buffering will prevent sse to work
proxy_buffering off;
proxy_pass http://infrastructure_buildbot_1:80/sse/;
}
location /buildbot/ws {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_pass http://infrastructure_buildbot_1:80/ws;
# raise the proxy timeout for the websocket
proxy_read_timeout 6000s;
}
}

No commit comments for this range

You can’t perform that action at this time.