Turns out I need port 80 for acme, whoops

This commit is contained in:
Bun 2025-04-04 05:17:25 -04:00
parent 6069da2e1d
commit 2d61e291a9
4 changed files with 11 additions and 9 deletions

View file

@ -8,7 +8,6 @@
"1.1.1.1"
"1.0.0.1"
];
blocking = {
clientGroupsBlock.default = [
"pro"
@ -19,7 +18,6 @@
"tif" = [ "https://codeberg.org/hagezi/mirror2/raw/branch/main/dns-blocklists/wildcard/tif.txt" ];
};
};
caching = {
prefetching = true;
minTime = "1m";

View file

@ -5,9 +5,10 @@
config = lib.mkIf config.services.forgejo.enable {
services.forgejo = {
package = pkgs.forgejo;
lfs.enable = true;
settings = {
server = {
DOMAIN = "git.nixfox.ca";
DOMAIN = "sv.nixfox.ca";
ROOT_URL = "https://git.nixfox.ca:443";
HTTP_PORT = 3110;
SSH_PORT = 2299;

View file

@ -1,8 +1,8 @@
{ config, lib, ... }:
{ config, ... }:
{
imports = [ ./nginx ];
nixpkgs.config.element-web.conf = lib.mkIf config.services.matrix-synapse.enable {
nixpkgs.config.element-web.conf = {
default_server_config."m.homeserver" = {
base_url = "https://matrix.nixfox.ca";
server_name = "matrix.nixfox.ca";

View file

@ -16,6 +16,9 @@
recommendedGzipSettings = true;
recommendedProxySettings = true;
};
networking.firewall.allowedTCPPorts = [ 443 ];
networking.firewall.allowedTCPPorts = [
80
443
];
};
}