Move all services from srazka.com to reudy.net
Renames every domain in the config: Caddy virtual hosts (auth, hello, nextcloud, git, panel), the ACME contact email, Authelia's session cookie domain / portal URL / default redirect and TOTP issuer, Nextcloud's hostName and overwritehost, and Forgejo's DOMAIN (ROOT_URL and ssh clone URLs follow from it; the panel picks them up via panel.nix). Panel docs and examples updated too, and a README paragraph that had run together is split again. Requires DNS for auth/hello/nextcloud/git/panel.reudy.net (or a *.reudy.net wildcard) pointing at the server before deploying. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UbWSNkXxZhYf7eqHTyx3Bf
This commit is contained in:
parent
0d0e44b39e
commit
a3c730e1db
8 changed files with 38 additions and 36 deletions
10
caddy.nix
10
caddy.nix
|
|
@ -2,7 +2,7 @@
|
|||
{
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
email = "admin@srazka.com";
|
||||
email = "admin@reudy.net";
|
||||
|
||||
# Generated app routes from the panel backend.
|
||||
extraConfig = ''
|
||||
|
|
@ -10,12 +10,12 @@
|
|||
'';
|
||||
|
||||
# Authelia's own login portal
|
||||
virtualHosts."auth.srazka.com".extraConfig = ''
|
||||
virtualHosts."auth.reudy.net".extraConfig = ''
|
||||
reverse_proxy 127.0.0.1:9091
|
||||
'';
|
||||
|
||||
# Every protected site uses this snippet
|
||||
virtualHosts."hello.srazka.com".extraConfig = ''
|
||||
virtualHosts."hello.reudy.net".extraConfig = ''
|
||||
forward_auth 127.0.0.1:9091 {
|
||||
uri /api/authz/forward-auth
|
||||
copy_headers Remote-User Remote-Groups Remote-Email Remote-Name
|
||||
|
|
@ -26,7 +26,7 @@
|
|||
# Nextcloud — served by local nginx
|
||||
# (Authelia forward-auth disabled for now; re-enable by uncommenting the
|
||||
# forward_auth block below.)
|
||||
virtualHosts."nextcloud.srazka.com".extraConfig = ''
|
||||
virtualHosts."nextcloud.reudy.net".extraConfig = ''
|
||||
# forward_auth 127.0.0.1:9091 {
|
||||
# uri /api/authz/forward-auth
|
||||
# copy_headers Remote-User Remote-Groups Remote-Email Remote-Name
|
||||
|
|
@ -36,7 +36,7 @@
|
|||
|
||||
# Forgejo — no Authelia forward-auth, since it would break git over HTTPS
|
||||
# and the API. Forgejo handles its own logins.
|
||||
virtualHosts."git.srazka.com".extraConfig = ''
|
||||
virtualHosts."git.reudy.net".extraConfig = ''
|
||||
reverse_proxy 127.0.0.1:14921
|
||||
'';
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue