aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-03-02 08:54:26 -0300
committerEuAndreh <eu@euandre.org>2025-03-03 06:30:37 -0300
commitab612e517b1bd21613f4b99d1439c2a174faf94a (patch)
tree01abd2fdca3cf9e57f88e783f86cf345b79f9b9d
parentsystem.scm: Add wireguard peer for "novinho" (diff)
downloadserver-ab612e517b1bd21613f4b99d1439c2a174faf94a.tar.gz
server-ab612e517b1bd21613f4b99d1439c2a174faf94a.tar.xz
Revert "system.scm: Stop proxying nginx to velhinho"
This reverts commit cd1bb693a53b995df0e498f1a2e1b39701674a83.
-rw-r--r--src/guix/system.scm8
1 files changed, 8 insertions, 0 deletions
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
@@ -78,6 +78,14 @@
(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
(list