hydra: nginx: Remove the publish "/log" route.

* hydra/nginx/berlin.scm (publish-locations): Remove the publish "/log" route
that is now handled directly by Cuirass.
This commit is contained in:
Mathieu Othacehe 2021-09-13 16:45:17 +02:00
parent 0da304ddc8
commit abaf139228
No known key found for this signature in database
GPG Key ID: 8354763531769CA6
1 changed files with 0 additions and 19 deletions

View File

@ -114,25 +114,6 @@
"proxy_hide_header Set-Cookie;"
"proxy_ignore_headers Set-Cookie;")))
(nginx-location-configuration
(uri "/log/")
(body
(list
(string-append "proxy_pass " url ";")
;; Enable caching for build logs.
"proxy_cache logs;"
"proxy_cache_valid 200 60d;" ; cache hits.
"proxy_cache_valid 504 3m;" ; timeout, when hydra.gnu.org is overloaded
"proxy_cache_valid any 1h;" ; cache misses/others.
"proxy_ignore_client_abort on;"
;; We need to hide and ignore the Set-Cookie header to enable
;; caching.
"proxy_hide_header Set-Cookie;"
"proxy_ignore_headers Set-Cookie;")))
;; Content-addressed files served by 'guix publish'.
(nginx-location-configuration
(uri "/file/")