try simple cryptpad module

This commit is contained in:
gabriel-doriath-dohler 2021-11-15 01:06:57 +01:00
parent b2eb90564d
commit 5e24c6c8c7

View file

@ -14,9 +14,15 @@ in
environment.etc."cryptpad/config.js".source = ./cryptpad.js;
services.nginx.virtualHosts = {
"docs.beta.rz.ens.wtf" = {
"pads.beta.rz.ens.wtf" = {
forceSSL = true;
enableACME = true;
locations = {
"/" = {
proxyPass = "http://localhost:3000";
};
};
/*
extraConfig = ''
# CryptPad serves static assets over these two domains.
# `main_domain` is what users will enter in their address bar.
@ -183,6 +189,7 @@ in
# Finally, serve anything the above exceptions don't govern.
try_files /www/$uri /www/$uri/index.html /customize/$uri;
'';
*/
};
};