git changes for soft-serve

This commit is contained in:
2024-02-08 13:05:20 -06:00
parent 441e7f2c35
commit 606b54f843
2 changed files with 14 additions and 4 deletions

View File

@ -1,4 +1,4 @@
{ pkgs, config, ... }: {
{ config, lib, pkgs,... }: {
services.nginx = {
enable = true;
@ -58,7 +58,13 @@
"food.eversole.co" = proxied {
target = "http://127.0.0.1:52230";
};
"git.eversole.co" = static { dir = "/var/www/jame.su"; };
"git.eversole.co" = {
enableACME = true;
forceSSL = true;
locations."/" = { root = "/var/www/git.eversole.co"; tryFiles = "$uri $uri/ @git"; };
locations."/purr".return = "301 https://git.eversole.co";
locations."@git" = { proxyPass = "http://127.0.0.1:23232"; priority = 600; };
};
"graf.matri.cx" = { root = "/var/www/graf.matri.cx"; }; # refer to /monitoring/nginx.nix
"hydra.matri.cx" = proxied {
target = "http://127.0.0.1:3034";