summaryrefslogtreecommitdiffstats
path: root/krebs
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2021-12-10 18:09:44 +0100
committerlassulus <lassulus@lassul.us>2021-12-10 18:09:44 +0100
commit6b59b7972a901dcbb3cb5c1aeac4616a5a94ba7b (patch)
tree3d98376ccef975f2add292eaa20e03749917224a /krebs
parent9841e402e2692a6eb37d5a5b89a53474168af590 (diff)
wiki: listen gollum on localhost only
Diffstat (limited to 'krebs')
-rw-r--r--krebs/2configs/wiki.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/krebs/2configs/wiki.nix b/krebs/2configs/wiki.nix
index aa6948269..40d946f7d 100644
--- a/krebs/2configs/wiki.nix
+++ b/krebs/2configs/wiki.nix
@@ -29,7 +29,7 @@ in
{
services.gollum = {
enable = true;
- address = "::";
+ address = "::1";
extraConfig = ''
Gollum::Hook.register(:post_commit, :hook_id) do |committer, sha1|
system('${pushCgit}')
@@ -47,7 +47,7 @@ in
enableACME = true;
addSSL = true;
locations."/" = {
- proxyPass = "http://[::]:${toString config.services.gollum.port}";
+ proxyPass = "http://[::1]:${toString config.services.gollum.port}";
proxyWebsockets = true;
extraConfig = ''
proxy_set_header Host $host;