self signed cert
This commit is contained in:
parent
0e25e7cacc
commit
4a2f900c5a
9 changed files with 100 additions and 14 deletions
|
|
@ -1,13 +1,15 @@
|
|||
{
|
||||
var,
|
||||
config,
|
||||
secrets,
|
||||
...
|
||||
}:
|
||||
{
|
||||
services = {
|
||||
nginx = {
|
||||
recommendedTlsSettings = true;
|
||||
recommendedProxySettings = true;
|
||||
recommendedOptimisation = true;
|
||||
# recommendedTlsSettings = true;
|
||||
# recommendedProxySettings = true;
|
||||
# recommendedOptimisation = true;
|
||||
|
||||
enable = true;
|
||||
virtualHosts.default = {
|
||||
|
|
@ -16,11 +18,12 @@
|
|||
rejectSSL = true;
|
||||
locations."/".return = "444";
|
||||
};
|
||||
virtualHostsPriv."roam.lan" = {
|
||||
privateVirtualHosts."roam.lan" = {
|
||||
locations."/" = { };
|
||||
};
|
||||
virtualHosts."roam.hdohmen.de" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
locations."/" = { };
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue