fix(MOMO): set recommended nginx settings
This commit is contained in:
parent
9b95f4de65
commit
624faee52d
3 changed files with 15 additions and 13 deletions
|
|
@ -2,6 +2,12 @@
|
|||
{
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
|
||||
recommendedGzipSettings = true;
|
||||
recommendedOptimisation = true;
|
||||
recommendedProxySettings = true;
|
||||
recommendedTlsSettings = true;
|
||||
|
||||
virtualHosts."hedgedoc.dryb.org" = {
|
||||
addSSL = true;
|
||||
enableACME = true;
|
||||
|
|
@ -9,13 +15,6 @@
|
|||
proxyPass = "http://127.0.0.1:8009";
|
||||
};
|
||||
};
|
||||
virtualHosts."md.dryb.org" = {
|
||||
addSSL = true;
|
||||
enableACME = true;
|
||||
locations."/" = {
|
||||
proxyPass = "301 https://hedgedoc.dryb.org$request_uri";
|
||||
};
|
||||
};
|
||||
virtualHosts."miniflux.dryb.org" = {
|
||||
addSSL = true;
|
||||
enableACME = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue