nextcloud
This commit is contained in:
@@ -173,6 +173,14 @@
|
||||
listen = dl;
|
||||
locations = { "/" = { proxyPass = "http://127.0.0.1:14243"; }; };
|
||||
});
|
||||
|
||||
"n.${hyper.domain}" = {
|
||||
listen = dl;
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
# rest is done by the nextcloud module
|
||||
};
|
||||
|
||||
# "nc.${hyper.domain}" = vh // {
|
||||
# # directly to nc
|
||||
# };
|
||||
@@ -240,7 +248,7 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
"~^(.*).${hyper.domain}$" = {
|
||||
"~^(?!n\.)(.*)\.${hyper.domain}$" = {
|
||||
listen = dl;
|
||||
root = "/var/nginx/webroot";
|
||||
locations."~.*".return = "502";
|
||||
|
||||
Reference in New Issue
Block a user