diff options
| author | Arun Isaac | 2026-08-03 16:48:20 +0100 |
|---|---|---|
| committer | Arun Isaac | 2026-08-04 13:24:54 +0100 |
| commit | dcb94ca753c0f5c73686d611fb7201d50bf47a13 (patch) | |
| tree | a7ade5380ef99a0b45f041caca2d436282cb0140 /guix/forge | |
| parent | 0cebbe090589bf7353042416a9c5867a1ad21e3d (diff) | |
| download | guix-forge-dcb94ca753c0f5c73686d611fb7201d50bf47a13.tar.gz guix-forge-dcb94ca753c0f5c73686d611fb7201d50bf47a13.tar.lz guix-forge-dcb94ca753c0f5c73686d611fb7201d50bf47a13.zip | |
cgit: Use nginx-named-location-configuration for @cgit.
Diffstat (limited to 'guix/forge')
| -rw-r--r-- | guix/forge/cgit.scm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/guix/forge/cgit.scm b/guix/forge/cgit.scm index 923d718..bfdcf9c 100644 --- a/guix/forge/cgit.scm +++ b/guix/forge/cgit.scm @@ -29,7 +29,8 @@ #:select (cgit-pink git-minimal)) #:use-module (gnu services) #:use-module ((gnu services web) #:select (nginx-server-configuration - nginx-location-configuration)) + nginx-location-configuration + nginx-named-location-configuration)) #:use-module (gnu system file-systems) #:use-module (guix gexp) #:use-module (guix records) @@ -275,8 +276,8 @@ configured in @var{config}." (nginx-socket->string socket) ";")))) ;; cgit web interface - (nginx-location-configuration - (uri "@cgit") + (nginx-named-location-configuration + (name "cgit") (body (list #~(string-append "fastcgi_param SCRIPT_FILENAME " #$(file-append cgit "/lib/cgit/cgit.cgi") |
