mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-06-08 10:09:04 +02:00
updated module to add epyc builders
This commit is contained in:
parent
9396e81f55
commit
d4a2e9cb70
3 changed files with 9 additions and 8 deletions
|
@ -88,15 +88,16 @@ in
|
|||
extraConfig = ''
|
||||
ssl_session_timeout 1440m;
|
||||
ssl_session_cache shared:SSL:10m;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
'';
|
||||
locations."/".proxyPass = "http://127.0.0.1:1810/";
|
||||
locations."/".proxyPass = "http://[::]:1810/";
|
||||
locations."/sse" = {
|
||||
proxyPass = "http://127.0.0.1:1810/sse/";
|
||||
proxyPass = "http://[::]:1810/sse/";
|
||||
# proxy buffering will prevent sse to work
|
||||
extraConfig = "proxy_buffering off;";
|
||||
};
|
||||
locations."/ws" = {
|
||||
proxyPass = "http://127.0.0.1:1810/ws";
|
||||
proxyPass = "http://[::]:1810/ws";
|
||||
proxyWebsockets = true;
|
||||
# raise the proxy timeout for the websocket
|
||||
extraConfig = "proxy_read_timeout 6000s;";
|
||||
|
|
|
@ -225,7 +225,7 @@ def build_config() -> dict[str, Any]:
|
|||
|
||||
c["www"] = {
|
||||
"avatar_methods": [util.AvatarGitHub()],
|
||||
"port": int(os.environ.get("PORT", "1810")),
|
||||
'port': "tcp:1810:interface=\\:\\:",
|
||||
"auth": util.GitHubAuth("bba3e144501aa5b8a5dd", str(read_secret_file("github-oauth-secret")).strip()),
|
||||
"authz": util.Authz(
|
||||
roleMatchers=[
|
||||
|
@ -269,7 +269,7 @@ def build_config() -> dict[str, Any]:
|
|||
|
||||
c["db"] = {"db_url": os.environ.get("DB_URL", "sqlite:///state.sqlite")}
|
||||
|
||||
c["protocols"] = {"pb": {"port": "tcp:9989:interface=127.0.0.1"}}
|
||||
c['protocols'] = {'pb': {'port': "tcp:interface=\\:\\::port=9989"}}
|
||||
c["buildbotURL"] = BUILDBOT_URL
|
||||
c["collapseRequests"] = False
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue