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:
parent
0da304ddc8
commit
abaf139228
|
@ -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/")
|
||||
|
|
Loading…
Reference in New Issue