From 629e6b7acc2e490480846c5a224a1b0525f7dab2 Mon Sep 17 00:00:00 2001 From: FredzyW Date: Thu, 20 Jun 2024 21:57:56 +0200 Subject: [PATCH] Cleaned up old comments --- shared/nginx.nix | 64 ++++++++++++++++++++++++++++-------------------- 1 file changed, 37 insertions(+), 27 deletions(-) diff --git a/shared/nginx.nix b/shared/nginx.nix index d0b16a3..f276e6b 100644 --- a/shared/nginx.nix +++ b/shared/nginx.nix @@ -60,33 +60,43 @@ networking.firewall = { proxyWebsockets = true; }; }; - # "search.wastring.com" = { - # sslCertificateKey = "/certs/.lego/certificates/wastring.com.key"; - # sslCertificate = "/certs/.lego/certificates/wastring.com.crt"; - # forceSSL = true; - # locations."/" = { - # proxyPass = "http://172.17.0.1:8060"; - # proxyWebsockets = true; - # }; - # }; - # "docs.wastring.com" = { - # sslCertificateKey = "/certs/.lego/certificates/wastring.com.key"; - # sslCertificate = "/certs/.lego/certificates/wastring.com.crt"; - # forceSSL = true; - # locations."/" = { - # proxyPass = "http://172.17.0.1:8003"; - # proxyWebsockets = true; - # }; - # }; - # "wastring.com" = { - # sslCertificateKey = "/home/fw/.lego/certificates/wastring.com.key"; - # sslCertificate = "/certs/.lego/certificates/wastring.com.crt"; - # forceSSL = true; - # locations."/" = { - # proxyPass = "http://172.17.0.1:2283"; - # proxyWebsockets = true; - # }; - # }; + "drive.wastring.com" = { + sslCertificateKey = "/certs/.lego/certificates/wastring.com.key"; + sslCertificate = "/certs/.lego/certificates/wastring.com.crt"; + forceSSL = true; + locations."/" = { + proxyPass = "http://172.17.0.1:3001"; + proxyWebsockets = true; + }; + }; + + "sandbox.wastring.com" = { + sslCertificateKey = "/certs/.lego/certificates/wastring.com.key"; + sslCertificate = "/certs/.lego/certificates/wastring.com.crt"; + forceSSL = true; + locations."/" = { + proxyPass = "http://172.17.0.1:3001"; + proxyWebsockets = true; + }; + }; + "files.wastring.com" = { + sslCertificateKey = "/certs/.lego/certificates/wastring.com.key"; + sslCertificate = "/certs/.lego/certificates/wastring.com.crt"; + forceSSL = true; + locations."/" = { + proxyPass = "http://172.17.0.1:3923"; + proxyWebsockets = true; + }; + }; + "ftp.wastring.com" = { + sslCertificateKey = "/certs/.lego/certificates/wastring.com.key"; + sslCertificate = "/certs/.lego/certificates/wastring.com.crt"; + forceSSL = true; + locations."/" = { + proxyPass = "http://172.17.0.1:3921"; + proxyWebsockets = true; + }; + }; }; }; }