From ab612e517b1bd21613f4b99d1439c2a174faf94a Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sun, 2 Mar 2025 08:54:26 -0300 Subject: Revert "system.scm: Stop proxying nginx to velhinho" This reverts commit cd1bb693a53b995df0e498f1a2e1b39701674a83. --- src/guix/system.scm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/guix/system.scm b/src/guix/system.scm index 539bbe5..9458726 100644 --- a/src/guix/system.scm +++ b/src/guix/system.scm @@ -77,6 +77,14 @@ (ssl-certificate-key (pkg:fmt "/etc/letsencrypt/live/~a/privkey.pem" +tld+)) (locations (list + (nginx-location-configuration + (uri "/live/") + (body + '(#"- + rewrite /live(.*) $1 break; + add_header Access-Control-Allow-Origin *; + proxy_pass http://novinho:4219; + "#))) (nginx-location-configuration (uri "/git/static/") (body -- cgit v1.2.3