slowly getting to acme setup
This commit is contained in:
parent
9634b57b86
commit
12186e8005
2 changed files with 28 additions and 11 deletions
|
@ -5,7 +5,8 @@ in mkIf conf.website.enable {
|
|||
services.nginx.virtualHosts = {
|
||||
"twoneis.site" = {
|
||||
serverName = "twoneis.site";
|
||||
forceSSL = false;
|
||||
useACMEHost = "twoneis.site";
|
||||
forceSSL = true;
|
||||
locations = {
|
||||
"/" = {
|
||||
return = "200 \"faggot\"";
|
||||
|
@ -13,8 +14,4 @@ in mkIf conf.website.enable {
|
|||
};
|
||||
};
|
||||
};
|
||||
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
80
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue