Compare commits
2 commits
579ad274d5
...
d03f4c6fb1
Author | SHA1 | Date | |
---|---|---|---|
Rouven Seifert | d03f4c6fb1 | ||
Rouven Seifert | ebe977672a |
|
@ -6,6 +6,7 @@
|
|||
{ config, ... }:
|
||||
{
|
||||
boot.initrd = {
|
||||
availableKernelModules = ["mlx5_core"];
|
||||
systemd = {
|
||||
enable = true;
|
||||
network = {
|
||||
|
|
|
@ -66,6 +66,14 @@
|
|||
ensureDatabases = [ "mailman" "mailman-web" ];
|
||||
};
|
||||
services.nginx.virtualHosts."lists.${config.networking.domain}" = {
|
||||
locations."/accounts/signup" = {
|
||||
extraConfig = ''
|
||||
allow 141.30.0.0/16;
|
||||
allow 141.76.0.0/16;
|
||||
deny all;
|
||||
uwsgi_pass unix:/run/mailman-web.socket;
|
||||
'';
|
||||
};
|
||||
locations."/robots.txt" = {
|
||||
extraConfig = ''
|
||||
add_header Content-Type text/plain;
|
||||
|
|
Loading…
Reference in a new issue