Compare commits

..

No commits in common. "97288d1592a981df718c8c1930aaea43277ee603" and "0d6ba3e72af0fad7bf9995f195aa75acb54ef587" have entirely different histories.

1 changed files with 14 additions and 24 deletions

View File

@ -187,22 +187,12 @@
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
root = "/var/www/beepboop.systems"; root = "/var/www/beepboop.systems";
locations."/" = {
extraConfig = ''
if ($request_uri ~ ^/(.*)\.html(\?|$)) {
return 302 /$1;
}
try_files $uri $uri.html $uri/ =404;
'';
};
}; };
services.nginx.virtualHosts."git.beepboop.systems" = { services.nginx.virtualHosts."git.beepboop.systems" = {
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
locations."/" = { locations."/".proxyPass = "http://localhost:3001";
proxyPass = "http://localhost:3001";
};
}; };
services.nginx.virtualHosts."bit.beepboop.systems" = { services.nginx.virtualHosts."bit.beepboop.systems" = {
@ -255,19 +245,19 @@
email = "nickforanick@protonmail.com"; email = "nickforanick@protonmail.com";
}; };
# services.roundcube = { services.roundcube = {
# enable = true; enable = true;
# # this is the url of the vhost, not necessarily the same as the fqdn of # this is the url of the vhost, not necessarily the same as the fqdn of
# # the mailserver # the mailserver
# hostName = "cube.beepboop.systems"; hostName = "cube.beepboop.systems";
# extraConfig = '' extraConfig = ''
# # starttls needed for authentication, so the fqdn required to match # starttls needed for authentication, so the fqdn required to match
# # the certificate # the certificate
# $config['smtp_server'] = "tls://${config.mailserver.fqdn}"; $config['smtp_server'] = "tls://${config.mailserver.fqdn}";
# $config['smtp_user'] = "%u"; $config['smtp_user'] = "%u";
# $config['smtp_pass'] = "%p"; $config['smtp_pass'] = "%p";
# ''; '';
# }; };
services.nginx.virtualHosts."roundcube.beepboop.systems" = { services.nginx.virtualHosts."roundcube.beepboop.systems" = {
forceSSL = true; forceSSL = true;