mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-26 05:40:52 +01:00
feat: enable forgejo
This commit is contained in:
parent
2bb3f909ac
commit
f1b0e2de51
1 changed files with 13 additions and 0 deletions
|
@ -73,6 +73,19 @@
|
|||
# Set your time zone.
|
||||
time.timeZone = "Europe/Paris";
|
||||
|
||||
services.forgejo = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
services.nginx.virtualHosts."git.luj.fr" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "http://localhost:3000";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
};
|
||||
|
||||
environment.persistence."/persistent" = {
|
||||
hideMounts = true;
|
||||
directories = [
|
||||
|
|
Loading…
Add table
Reference in a new issue