diff --git a/m/hut/configuration.nix b/m/hut/configuration.nix index 0e875c8..3a14eb6 100644 --- a/m/hut/configuration.nix +++ b/m/hut/configuration.nix @@ -17,6 +17,7 @@ ./gitea.nix ./msmtp.nix ./postgresql.nix + ./nginx.nix #./pxe.nix ]; diff --git a/m/hut/nginx.nix b/m/hut/nginx.nix new file mode 100644 index 0000000..e2e6f44 --- /dev/null +++ b/m/hut/nginx.nix @@ -0,0 +1,14 @@ +{ + services.nginx = { + enable = true; + virtualHosts."jungle.bsc.es" = { + listen = [ + { + addr = "127.0.0.1"; + port = 8123; + } + ]; + locations."/p/".alias = "/ceph/p/"; + }; + }; +}