diff options
author | EuAndreh <eu@euandre.org> | 2023-03-20 11:11:36 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2023-03-20 11:11:36 -0300 |
commit | d91fcd75a6bcadf1f3bbb55082cea185cf7e708a (patch) | |
tree | cc4b8dae3e4e52eda682285143259a40be9b6b1f /src | |
parent | system.scm: Derive SSH key name from tld (diff) | |
download | toph-d91fcd75a6bcadf1f3bbb55082cea185cf7e708a.tar.gz toph-d91fcd75a6bcadf1f3bbb55082cea185cf7e708a.tar.xz |
system.scm: Move nginx /r/velhinho config to the beginning of the list
Notes
See CI logs with:
git notes --ref=refs/notes/ci-logs show d91fcd75a6bcadf1f3bbb55082cea185cf7e708a
git notes --ref=refs/notes/ci-data show d91fcd75a6bcadf1f3bbb55082cea185cf7e708a
Exit status: 0
Duration: 12
Diffstat (limited to 'src')
-rw-r--r-- | src/infrastructure/guix/system.scm | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/infrastructure/guix/system.scm b/src/infrastructure/guix/system.scm index e579253..0b89afc 100644 --- a/src/infrastructure/guix/system.scm +++ b/src/infrastructure/guix/system.scm @@ -378,6 +378,13 @@ (locations (list (nginx-location-configuration + (uri "/r/velhinho/") + (body + '(#"- + rewrite /r/velhinho(.*) $1 break; + proxy_pass http://velhinho:4219; + "#))) + (nginx-location-configuration (uri "/git/static/") (body (list @@ -393,14 +400,7 @@ fastcgi_param HTTP_HOST $server_name; fastcgi_pass localhost:9000; rewrite /git(.*) $1 break; - "#))) - (nginx-location-configuration - (uri "/r/velhinho/") - (body - '(#"- - rewrite /r/velhinho(.*) $1 break; - proxy_pass http://velhinho:4219; - "#))))) + "#))))) (raw-content '(#"- charset utf-8; |