Gitea Lives!

This commit is contained in:
Julius 2022-05-20 17:21:36 +02:00
parent e9ce88b058
commit a423603e26
Signed by: j00lz
GPG key ID: AF241B0AA237BBA2
3 changed files with 5 additions and 4 deletions

View file

@ -77,11 +77,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1652559422, "lastModified": 1652881001,
"narHash": "sha256-jPVTNImBTUIFdtur+d4IVot6eXmsvtOcBm0TzxmhWPk=", "narHash": "sha256-k9JmPCojaJnqGz4aRXXT1HZqJKHCXijoMfBAb24abXk=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "8b3398bc7587ebb79f93dfeea1b8c574d3c6dba1", "rev": "2d474d6a4a43a0348b78db68dc00c491032cf5cf",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -22,7 +22,7 @@
enableACME = true; enableACME = true;
http2 = true; http2 = true;
locations."/" = { locations."/" = {
proxyPass = "http://gitea.lxd:3000"; proxyPass = "http://gitea.lxd:3000/";
proxyWebsockets = true; proxyWebsockets = true;
}; };
}; };

View file

@ -15,6 +15,7 @@
authentication = '' authentication = ''
local all all trust local all all trust
host all all 10.0.0.0/8 trust host all all 10.0.0.0/8 trust
host all all fd42:14c:5baf:51ec:216:3eff:fe6e:32a7/96 trust
''; '';
ensureDatabases = [ "gitea" ]; ensureDatabases = [ "gitea" ];
ensureUsers = [ ensureUsers = [