Skip to content

Commit 853894e

Browse files
committed
+ re-add domain2 for direct duckdns.org
1 parent 4f4f68f commit 853894e

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

ansible/group_vars/all

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
timezone: "Europe/Zurich"
44
domain: "langchr86.ch"
5+
domain2: "langchr86.duckdns.org"
56
cert_authority: "acme-v02.api.letsencrypt.org-directory"
67

78
hostname_main: "lang-main"

ansible/roles/caddy/templates/Caddyfile

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,43 @@
11
# needed for certificate
2-
mumble.{{ domain }} {
2+
mumble.{{ domain }} mumble.{{ domain2 }} {
33
respond 204
44
}
55

66
# needed for SSH access
7-
ssh.{{ domain }} {
7+
ssh.{{ domain }} ssh.{{ domain2 }} {
88
respond 204
99
}
1010

11-
wiki.{{ domain }} {
11+
wiki.{{ domain }} wiki.{{ domain2 }} {
1212
root * /srv/wiki
1313
file_server
1414
}
1515

16-
fileshare.{{ domain }} {
16+
fileshare.{{ domain }} fileshare.{{ domain2 }} {
1717
root * /srv/fileshare
1818
file_server
1919
}
2020

21-
gallery.{{ domain }} {
21+
gallery.{{ domain }} gallery.{{ domain2 }} {
2222
root * /srv/gallery
2323
file_server
2424
}
2525

26-
home.{{ domain }} {
26+
home.{{ domain }} home.{{ domain2 }} {
2727
reverse_proxy homeassistant:8123 {
2828
header_up X-Real-IP {remote_host}
2929
}
3030
}
3131

32-
media.{{ domain }} {
32+
media.{{ domain }} media.{{ domain2 }} {
3333
reverse_proxy jellyfin:8096
3434
}
3535

36-
mediarequest.{{ domain }} {
36+
mediarequest.{{ domain }} mediarequest.{{ domain2 }} {
3737
reverse_proxy jellyseerr:5055
3838
}
3939

40-
bitwarden.{{ domain }}:443 {
40+
bitwarden.{{ domain }}:443 bitwarden.{{ domain2 }}:443 {
4141
# This setting may have compatibility issues with some browsers
4242
# (e.g., attachment downloading on Firefox). Try disabling this if you encounter issues.
4343
encode gzip

vagrant/vagrant_variables.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"disk_monitoring_enable_smart": false,
99
"deploy_examples": true,
1010
"domain": "localhost",
11+
"domain2": "localhost",
1112
"cert_authority": "local",
1213
"claudia_main_disk": "/dev/sdc",
1314
"claudia_backup_disk": "/dev/sdd",

0 commit comments

Comments
 (0)