forked from kalipso/infrastructure
[lucia] working hedgedoc
still user config is needed
This commit is contained in:
@@ -134,10 +134,10 @@ in
|
|||||||
hedgedoc = {
|
hedgedoc = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
allowAnonymousEdits = true;
|
#allowAnonymousEdits = true;
|
||||||
allowEmailRegister = false;
|
#allowEmailRegister = false;
|
||||||
allowFreeURL = true;
|
#allowFreeURL = true;
|
||||||
allowOrigin = [ "pad.malobeo.org" ];
|
allowOrigin = [ "localhost" "pad.malobeo.org" ];
|
||||||
db = {
|
db = {
|
||||||
dialect = "sqlite";
|
dialect = "sqlite";
|
||||||
storage = "/var/lib/hedgedoc/db.hedgedoc.sqlite";
|
storage = "/var/lib/hedgedoc/db.hedgedoc.sqlite";
|
||||||
@@ -145,7 +145,7 @@ in
|
|||||||
domain = "pad.malobeo.org";
|
domain = "pad.malobeo.org";
|
||||||
port = 3333;
|
port = 3333;
|
||||||
useSSL = false;
|
useSSL = false;
|
||||||
protocolUseSSL = true;
|
protocolUseSSL = false;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -214,9 +214,18 @@ in
|
|||||||
enableACME = true;
|
enableACME = true;
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
acmeRoot = null;
|
acmeRoot = null;
|
||||||
|
|
||||||
locations."/" = {
|
locations."/" = {
|
||||||
proxyPass = "http://127.0.0.1:3333";
|
proxyPass = "http://localhost:3333";
|
||||||
|
#proxyWebsockets = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
locations."/socket.io/" = {
|
||||||
|
proxyPass = "http://localhost:3333";
|
||||||
proxyWebsockets = true;
|
proxyWebsockets = true;
|
||||||
|
extraConfig =
|
||||||
|
"proxy_ssl_server_name on;"
|
||||||
|
;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user