feat: git, jelly file up again

This commit is contained in:
admin 2024-03-24 22:51:46 +01:00
parent dbd396f613
commit 2730b695e7
8 changed files with 10 additions and 26 deletions

View file

@ -10,7 +10,6 @@ in
port = 8000; port = 8000;
}; };
services.nginx.enable = true;
services.nginx.virtualHosts.${domain} = { services.nginx.virtualHosts.${domain} = {
default = true; default = true;

View file

@ -20,14 +20,9 @@ in
services.nginx.virtualHosts.${domain} = { services.nginx.virtualHosts.${domain} = {
enableACME = true;
forceSSL = true;
locations."/" = { locations."/" = {
proxyPass = "http://localhost:8080/"; proxyPass = "http://localhost:8080/";
proxyWebsockets = true; proxyWebsockets = true;
# extraConfig = ''
# access_log /var/log/nginx/access.log main if=$forgejo_access_log;
# '';
}; };
}; };
} }

View file

@ -10,10 +10,10 @@
./configuration.nix ./configuration.nix
./audiobooks.nix ./audiobooks.nix
./tunnel.nix ./tunnel.nix
# ./forgejo.nix ./forgejo.nix
# ./nextcloud.nix # ./nextcloud.nix
# ./jellyfin.nix ./jellyfin.nix
# ./filebrowser.nix ./filebrowser.nix
# ./matrix.nix # ./matrix.nix
# ./tail.nix # ./tail.nix
# ./coturn.nix # ./coturn.nix

View file

@ -19,7 +19,6 @@ in
}; };
services.nginx = { services.nginx = {
enable = true;
appendHttpConfig = '' appendHttpConfig = ''
map $uri $forgejo_access_log { map $uri $forgejo_access_log {
default 1; default 1;
@ -29,13 +28,8 @@ in
}; };
services.nginx.virtualHosts.${domain} = { services.nginx.virtualHosts.${domain} = {
enableACME = true;
forceSSL = true;
locations."/" = { locations."/" = {
proxyPass = "http://localhost:3000/"; proxyPass = "http://localhost:3000/";
# extraConfig = ''
# access_log /var/log/nginx/access.log main if=$forgejo_access_log;
# '';
}; };
}; };
} }

View file

@ -12,14 +12,9 @@ in
services.nginx.virtualHosts.${domain} = { services.nginx.virtualHosts.${domain} = {
enableACME = true;
forceSSL = true;
locations."/" = { locations."/" = {
proxyPass = "http://localhost:8096/"; proxyPass = "http://localhost:8096/";
proxyWebsockets = true; proxyWebsockets = true;
# extraConfig = ''
# access_log /var/log/nginx/access.log main if=$forgejo_access_log;
# '';
}; };
}; };
} }

View file

@ -52,8 +52,8 @@ services.postgresql = {
services.nginx.virtualHosts = { services.nginx.virtualHosts = {
${fqdn} = { ${fqdn} = {
enableACME = true; # enableACME = true;
forceSSL = true; # forceSSL = true;
locations."/".extraConfig = '' locations."/".extraConfig = ''
return 404; return 404;
''; '';
@ -65,8 +65,8 @@ services.postgresql = {
}; };
${domain} = { ${domain} = {
enableACME = true; # enableACME = true;
forceSSL = true; # forceSSL = true;
locations."/" = { locations."/" = {
proxyPass = "http://localhost:8008"; proxyPass = "http://localhost:8008";
}; };

View file

@ -17,8 +17,8 @@ in
services = { services = {
nginx.virtualHosts = { nginx.virtualHosts = {
${domain} = { ${domain} = {
forceSSL = true; # forceSSL = true;
enableACME = true; # enableACME = true;
# Use DNS Challenege. # Use DNS Challenege.
# acmeRoot = null; # acmeRoot = null;
}; };

View file

@ -1,5 +1,6 @@
{...}: {...}:
{ {
services.nginx.enable = true;
services.cloudflared = { services.cloudflared = {
enable = true; enable = true;
tunnels = { tunnels = {