ssl for the website

This commit is contained in:
Rouven Seifert 2023-08-16 13:28:43 +02:00
parent f8684b8be9
commit aaf49311fc
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
2 changed files with 2 additions and 5 deletions

View file

@ -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;

View file

@ -32,6 +32,8 @@ in
services.nginx = rec {
virtualHosts.${www-domain} = {
enableACME = true;
forceSSL = true;
root = "/srv/web/ifsrde";
locations = {
"= /" = {