2
0
Fork 0
mirror of git://git.savannah.gnu.org/guix/maintenance.git synced 2023-12-14 03:33:04 +01:00

nginx: berlin: Fix "/.i18n" handling.

* hydra/nginx/berlin.scm (berlin-locations): Remove "/.well-known"
location.  Move "/.i18n" and "/guix" locations to...
(guix.gnu.org-locations): ... here.
This commit is contained in:
Ludovic Courtès 2019-10-21 14:57:01 +02:00
parent 04597f6746
commit 246ea2f71c
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -188,22 +188,7 @@ PUBLISH-URL."
(nginx-location-configuration
(uri "/berlin.guixsd.org-export.pub")
(body
(list "root /var/www/guix;")))
;; Testing the i18n'd web site.
(nginx-location-configuration
(uri "/.i18n")
(body (list "root /srv/guix.gnu.org-i18n;")))
;; For use by Certbot.
(nginx-location-configuration
(uri "/.well-known")
(body (list "root /var/www;")))
;; For Hurd bootstrap binaries.
(nginx-location-configuration
(uri "/guix")
(body (list "root /var/www;"))))))
(list "root /var/www/guix;"))))))
(define guix.gnu.org-locations
(list
@ -463,6 +448,16 @@ PUBLISH-URL."
(uri "~ \\.pdf$") ;*.pdf at the top level
(body (list "root /srv/guix-pdfs;")))
;; Testing the i18n'd web site.
(nginx-location-configuration
(uri "/.i18n")
(body (list "alias /srv/guix.gnu.org-i18n;")))
;; For Hurd bootstrap binaries.
(nginx-location-configuration
(uri "/guix")
(body (list "root /var/www;")))
(nginx-location-configuration ;certbot
(uri "/.well-known")
(body (list "root /var/www;")))))