mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
Compare commits
2 commits
0a3b6aa9c7
...
055136d7f1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
055136d7f1 | ||
| 6a93cb9705 |
3 changed files with 81 additions and 3 deletions
|
|
@ -23,7 +23,7 @@ jobs:
|
|||
runs-on: kaylee
|
||||
continue-on-error: false
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
- name: Install Nix
|
||||
uses: https://github.com/DeterminateSystems/nix-installer-action@main
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ jobs:
|
|||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Install Nix
|
||||
uses: https://github.com/DeterminateSystems/nix-installer-action@main
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
};
|
||||
|
||||
networking.hostName = "saffron"; # Define your hostname.
|
||||
networking.firewall.allowedTCPPorts = [ 443 ];
|
||||
networking.firewall.allowedTCPPorts = [443 80];
|
||||
|
||||
# Caddy reverse proxy with DNS challenge
|
||||
services.caddy = {
|
||||
|
|
@ -49,6 +49,84 @@
|
|||
reverse_proxy serenity.pizzly-bortle.ts.net:5600
|
||||
'';
|
||||
};
|
||||
virtualHosts."search.mayoff.ca" = {
|
||||
extraConfig = ''
|
||||
tls {
|
||||
dns cloudflare {env.CLOUDFLARE_API_TOKEN}
|
||||
}
|
||||
reverse_proxy serenity.pizzly-bortle.ts.net:6000
|
||||
'';
|
||||
};
|
||||
virtualHosts."monitor.mayoff.ca" = {
|
||||
extraConfig = ''
|
||||
tls {
|
||||
dns cloudflare {env.CLOUDFLARE_API_TOKEN}
|
||||
}
|
||||
reverse_proxy serenity.pizzly-bortle.ts.net:8090
|
||||
'';
|
||||
};
|
||||
virtualHosts."gitforge.mayoff.ca" = {
|
||||
extraConfig = ''
|
||||
tls {
|
||||
dns cloudflare {env.CLOUDFLARE_API_TOKEN}
|
||||
}
|
||||
reverse_proxy serenity.pizzly-bortle.ts.net:3000
|
||||
'';
|
||||
};
|
||||
virtualHosts."immich.mayoff.ca" = {
|
||||
extraConfig = ''
|
||||
tls {
|
||||
dns cloudflare {env.CLOUDFLARE_API_TOKEN}
|
||||
}
|
||||
reverse_proxy serenity.pizzly-bortle.ts.net:2283
|
||||
'';
|
||||
};
|
||||
virtualHosts."nextcloud.mayoff.ca" = {
|
||||
extraConfig = ''
|
||||
tls {
|
||||
dns cloudflare {env.CLOUDFLARE_API_TOKEN}
|
||||
}
|
||||
reverse_proxy serenity.pizzly-bortle.ts.net:8100
|
||||
'';
|
||||
};
|
||||
# virtualHosts."documentserver.mayoff.ca" = {
|
||||
# extraConfig = ''
|
||||
# tls {
|
||||
# dns cloudflare {env.CLOUDFLARE_API_TOKEN}
|
||||
# }
|
||||
# reverse_proxy serenity.pizzly-bortle.ts.net:8101
|
||||
# '';
|
||||
# };
|
||||
virtualHosts."chat.mayoff.ca" = {
|
||||
extraConfig = ''
|
||||
tls {
|
||||
dns cloudflare {env.CLOUDFLARE_API_TOKEN}
|
||||
}
|
||||
reverse_proxy serenity.pizzly-bortle.ts.net:8009
|
||||
'';
|
||||
};
|
||||
virtualHosts."media.mayoff.ca" = {
|
||||
extraConfig = ''
|
||||
tls {
|
||||
dns cloudflare {env.CLOUDFLARE_API_TOKEN}
|
||||
}
|
||||
reverse_proxy serenity.pizzly-bortle.ts.net:8096
|
||||
'';
|
||||
};
|
||||
virtualHosts."homeassistant.mayoff.ca" = {
|
||||
extraConfig = ''
|
||||
tls {
|
||||
dns cloudflare {env.CLOUDFLARE_API_TOKEN}
|
||||
}
|
||||
reverse_proxy homeassistant.pizzly-bortle.ts.net:8123 {
|
||||
header_up Host {upstream_hostport}
|
||||
header_up X-Real-IP {remote_host}
|
||||
header_up X-Forwarded-For {remote_host}
|
||||
header_up X-Forwarded-Proto {scheme}
|
||||
header_up X-Forwarded-Host {host}
|
||||
}
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
# Set your time zone.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue