mirror of
https://github.com/RGBCube/Site
synced 2025-08-01 13:37:49 +00:00
Use the root acme host all the time
This commit is contained in:
parent
1ddd22e59d
commit
5d95802730
1 changed files with 4 additions and 4 deletions
|
@ -156,15 +156,15 @@
|
|||
recommendedTlsSettings = mkDefault true;
|
||||
|
||||
virtualHosts.${cfg.url} = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
useACMEHost = cfg.url;
|
||||
|
||||
locations."/".proxyPass = "http://localhost:${toString cfg.port}";
|
||||
};
|
||||
|
||||
virtualHosts."www.${cfg.url}" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
useACMEHost = cfg.url;
|
||||
|
||||
locations."/".extraConfig = ''
|
||||
return 301 https://${cfg.url}$request_uri;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue