summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--machines/renard/default.nix30
1 files changed, 30 insertions, 0 deletions
diff --git a/machines/renard/default.nix b/machines/renard/default.nix
index 680e2cd..0fbd01d 100644
--- a/machines/renard/default.nix
+++ b/machines/renard/default.nix
@@ -10,5 +10,35 @@
../../modules/www.nix
];
+ services.nginx = {
+ "sho.rest" = {
+ enableACME = true;
+ forceSSL = true;
+ locations."/" = {
+ proxyPass = "http://127.0.0.1:5000";
+ };
+ };
+
+ "mel.gg" = {
+ enableACME = true;
+ forceSSL = true;
+ root = "/srv/mel";
+ };
+
+ "git.rnrd.eu" = {
+ enableACME = true;
+ forceSSL = true;
+ locations = {
+ "/" = {
+ proxyPass = "http://127.0.0.1:3792";
+ };
+
+ "/static/" = {
+ alias = "/srv/cgit/static/";
+ };
+ };
+ };
+ };
+
system.stateVersion = "24.05";
}