ssl for the website
This commit is contained in:
parent
f8684b8be9
commit
aaf49311fc
|
@ -7,11 +7,6 @@
|
|||
recommendedOptimisation = true;
|
||||
recommendedTlsSettings = true;
|
||||
|
||||
virtualHosts."${config.fsr.domain}" = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
};
|
||||
|
||||
appendHttpConfig = ''
|
||||
map $remote_addr $remote_addr_anon {
|
||||
~(?P<ip>\d+\.\d+\.\d+)\. $ip.0;
|
||||
|
|
|
@ -32,6 +32,8 @@ in
|
|||
|
||||
services.nginx = rec {
|
||||
virtualHosts.${www-domain} = {
|
||||
enableACME = true;
|
||||
forceSSL = true;
|
||||
root = "/srv/web/ifsrde";
|
||||
locations = {
|
||||
"= /" = {
|
||||
|
|
Loading…
Reference in a new issue