try simple cryptpad module
This commit is contained in:
parent
b2eb90564d
commit
5e24c6c8c7
1 changed files with 8 additions and 1 deletions
|
@ -14,9 +14,15 @@ in
|
||||||
environment.etc."cryptpad/config.js".source = ./cryptpad.js;
|
environment.etc."cryptpad/config.js".source = ./cryptpad.js;
|
||||||
|
|
||||||
services.nginx.virtualHosts = {
|
services.nginx.virtualHosts = {
|
||||||
"docs.beta.rz.ens.wtf" = {
|
"pads.beta.rz.ens.wtf" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
locations = {
|
||||||
|
"/" = {
|
||||||
|
proxyPass = "http://localhost:3000";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/*
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
# CryptPad serves static assets over these two domains.
|
# CryptPad serves static assets over these two domains.
|
||||||
# `main_domain` is what users will enter in their address bar.
|
# `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.
|
# Finally, serve anything the above exceptions don't govern.
|
||||||
try_files /www/$uri /www/$uri/index.html /customize/$uri;
|
try_files /www/$uri /www/$uri/index.html /customize/$uri;
|
||||||
'';
|
'';
|
||||||
|
*/
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue