Verified Commit dc2a9326 authored by Tim Schubert's avatar Tim Schubert
Browse files

add forward to torshit

parent 81e7a650
......@@ -34,6 +34,26 @@
bs.sshIdentityFile = config.age.secrets.fginfo-backup-ssh-key.path;
};
services.nginx = {
enable = true;
recommendedTlsSettings = true;
recommendedOptimisation = true;
recommendedGzipSettings = true;
recommendedProxySettings = true;
};
services.nginx.virtualHosts."cyber-fachschaft.de" = {
enableACME = true;
forceSSL = true;
locations."/torshit".return = "301 http://mu7hhgcsgnasv2asplmjshhifjr2idbxbjusy6xpxem5wixgf5f7wgad.onion";
};
security.acme.certs = {
"cyber-fachschaft.de".email = "y0067212@tu-bs.de";
};
security.acme.acceptTerms = true;
# tl;dr don't ever change this value!
#
# This value determines the NixOS release from which the default
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment