[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: berlin: Write logs to anonip FIFOs.
From: |
Ricardo Wurmus |
Subject: |
02/02: berlin: Write logs to anonip FIFOs. |
Date: |
Sun, 3 Jul 2022 08:58:14 -0400 (EDT) |
rekado pushed a commit to branch master
in repository maintenance.
commit 6c008f44c209d3def49a2ccb626e46a662b47e83
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Sun Jul 3 14:57:03 2022 +0200
berlin: Write logs to anonip FIFOs.
* hydra/nginx/berlin.scm (%berlin-servers): Change log locations.
---
hydra/nginx/berlin.scm | 22 +++++++++++-----------
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/hydra/nginx/berlin.scm b/hydra/nginx/berlin.scm
index dacd8aa..812e395 100644
--- a/hydra/nginx/berlin.scm
+++ b/hydra/nginx/berlin.scm
@@ -204,7 +204,7 @@ PUBLISH-URL."
(locations (berlin-locations %publish-url))
(raw-content
(list
- "access_log /var/log/nginx/http.access.log;"
+ "access_log /var/run/anonip/http.access.log;"
"proxy_set_header X-Forwarded-Host $host;"
"proxy_set_header X-Forwarded-Port $server_port;"
"proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;")))
@@ -216,7 +216,7 @@ PUBLISH-URL."
(root "/srv/bootstrappable.org")
(raw-content
(list
- "access_log /var/log/nginx/bootstrappable.access.log;")))
+ "access_log /var/run/anonip/bootstrappable.access.log;")))
(nginx-server-configuration
(listen '("80"))
@@ -238,7 +238,7 @@ PUBLISH-URL."
(body '("proxy_pass http://localhost:5000;")))))
(raw-content
(list
- "access_log /var/log/nginx/workflows-guix-info.access.log;")))
+ "access_log /var/run/anonip/workflows-guix-info.access.log;")))
;; HTTPS servers
(nginx-server-configuration
@@ -251,7 +251,7 @@ PUBLISH-URL."
(append
%tls-settings
(list
- "access_log /var/log/nginx/https.access.log;"
+ "access_log /var/run/anonip/https.access.log;"
"proxy_set_header X-Forwarded-Host $host;"
"proxy_set_header X-Forwarded-Port $server_port;"
"proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;"
@@ -266,7 +266,7 @@ PUBLISH-URL."
(locations (berlin-locations "http://localhost:3003"))
(raw-content
(append %tls-settings
- '("access_log /var/log/nginx/qualif.access.log;"))))
+ '("access_log /var/run/anonip/qualif.access.log;"))))
(nginx-server-configuration
(listen '("443 ssl"))
@@ -283,7 +283,7 @@ PUBLISH-URL."
(append
%tls-settings
(list
- "access_log /var/log/nginx/bootstrappable.https.access.log;"))))
+ "access_log /var/run/anonip/bootstrappable.https.access.log;"))))
(nginx-server-configuration
(listen '("443 ssl"))
@@ -293,7 +293,7 @@ PUBLISH-URL."
(root "/gnu/disarchive")
(raw-content
(list "gzip_static always; gunzip on;\n"
- "access_log /var/log/nginx/disarchive.access.log;")))
+ "access_log /var/run/anonip/disarchive.access.log;")))
(nginx-server-configuration
(listen '("443 ssl"))
@@ -320,7 +320,7 @@ PUBLISH-URL."
"proxy_send_timeout 600;"
"proxy_read_timeout 600;"
"send_timeout 600;"
- "access_log /var/log/nginx/issues-guix-gnu-org.https.access.log;"))))
+ "access_log /var/run/anonip/issues-guix-gnu-org.https.access.log;"))))
(nginx-server-configuration
(listen '("443 ssl"))
@@ -346,7 +346,7 @@ PUBLISH-URL."
"proxy_send_timeout 600;"
"proxy_read_timeout 600;"
"send_timeout 600;"
- "access_log /var/log/nginx/dump-guix-gnu-org.https.access.log;"))))
+ "access_log /var/run/anonip/dump-guix-gnu-org.https.access.log;"))))
(nginx-server-configuration
(listen '("443 ssl"))
@@ -374,7 +374,7 @@ PUBLISH-URL."
"proxy_send_timeout 600;"
"proxy_read_timeout 600;"
"send_timeout 600;"
- "access_log /var/log/nginx/workflows-guix-info.https.access.log;"))))
+ "access_log /var/run/anonip/workflows-guix-info.https.access.log;"))))
;; Backwards compatibility with legacy hostnames.
(nginx-server-configuration
@@ -520,7 +520,7 @@ PUBLISH-URL."
(append
%tls-settings
(list
- "access_log /var/log/nginx/https.access.log;"
+ "access_log /var/run/anonip/https.access.log;"
"proxy_set_header X-Forwarded-Host $host;"
"proxy_set_header X-Forwarded-Port $server_port;"
"proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;"