diff options
| author | quentin@aristote.fr <quentin@aristote.fr> | 2026-01-25 23:05:43 +0100 |
|---|---|---|
| committer | quentin@aristote.fr <quentin@aristote.fr> | 2026-01-25 23:05:43 +0100 |
| commit | b47096a17eb16c03536a36e6713a6f53d2a33295 (patch) | |
| tree | 66c5f7a99a725735792fb6ebf96d220833238040 | |
| parent | f3e9d85a7b46f52750087601fb6ef882b66ca441 (diff) | |
cgit proxy: disable compression for subfiltering
| -rw-r--r-- | config/services/web/git/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/config/services/web/git/default.nix b/config/services/web/git/default.nix index 213fed9..4a7d103 100644 --- a/config/services/web/git/default.nix +++ b/config/services/web/git/default.nix @@ -10,6 +10,8 @@ proxyPass = "http://hephaistos.aristote.mesh/git/"; extraConfig = '' proxy_redirect default; + # fix internal hyperlinks + proxy_set_header Accept-Encoding ""; sub_filter_once off; sub_filter 'href=\'/git/' 'href=\'/'; sub_filter 'action=\'/git/' 'action=\'/'; |
