Compare commits
No commits in common. "d03f4c6fb13ed27245a48b1ea681ccd21e40312b" and "579ad274d5b5d475d4f033754c14414e095371b2" have entirely different histories.
d03f4c6fb1
...
579ad274d5
|
@ -6,7 +6,6 @@
|
||||||
{ config, ... }:
|
{ config, ... }:
|
||||||
{
|
{
|
||||||
boot.initrd = {
|
boot.initrd = {
|
||||||
availableKernelModules = ["mlx5_core"];
|
|
||||||
systemd = {
|
systemd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
network = {
|
network = {
|
||||||
|
|
|
@ -66,14 +66,6 @@
|
||||||
ensureDatabases = [ "mailman" "mailman-web" ];
|
ensureDatabases = [ "mailman" "mailman-web" ];
|
||||||
};
|
};
|
||||||
services.nginx.virtualHosts."lists.${config.networking.domain}" = {
|
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" = {
|
locations."/robots.txt" = {
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
add_header Content-Type text/plain;
|
add_header Content-Type text/plain;
|
||||||
|
|
Loading…
Reference in a new issue