mirror of
https://github.com/kou029w/fogtype.com
synced 2025-01-18 08:05:02 +00:00
dns.keiu.net → keiu.net
This commit is contained in:
parent
c3b429d85b
commit
75facdbcef
4 changed files with 8 additions and 6 deletions
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
|
@ -8,4 +8,4 @@ jobs:
|
|||
steps:
|
||||
- run: install -m 700 -d ~/.ssh
|
||||
- run: install -m 600 <(echo '${{ secrets.DEPLOY_KEY }}') ~/.ssh/deploy_key
|
||||
- run: ssh -i ~/.ssh/deploy_key -o 'StrictHostKeyChecking no' kou029w@keiu.net 'sh -c "cd ~/keiu.net && git pull --rebase && docker compose up -d"'
|
||||
- run: ssh -i ~/.ssh/deploy_key -o 'StrictHostKeyChecking no' kou029w@keiu.net 'sh -c "cd ~/keiu.net && git pull --rebase && docker compose up --detach --remove-orphans"'
|
||||
|
|
|
@ -11,7 +11,7 @@ services:
|
|||
- ./srv:/srv
|
||||
- caddy_data:/data
|
||||
- caddy_config:/config
|
||||
dns.keiu.net:
|
||||
dns:
|
||||
image: coredns/coredns:1.9.3@sha256:8e352a029d304ca7431c6507b56800636c321cb52289686a581ab70aaa8a2e2a
|
||||
restart: unless-stopped
|
||||
expose: ["443"]
|
||||
|
|
|
@ -5,10 +5,12 @@
|
|||
}
|
||||
keiu.net {
|
||||
file_server
|
||||
reverse_proxy /dns-query https://dns {
|
||||
transport http {
|
||||
tls_server_name keiu.net
|
||||
}
|
||||
}
|
||||
}
|
||||
www.keiu.net {
|
||||
redir https://keiu.net{uri} 308
|
||||
}
|
||||
dns.keiu.net {
|
||||
reverse_proxy https://dns.keiu.net
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
https://. tls://. . {
|
||||
tls /var/lib/caddy/data/caddy/certificates/acme.zerossl.com-v2-dv90/dns.keiu.net/dns.keiu.net.crt /var/lib/caddy/data/caddy/certificates/acme.zerossl.com-v2-dv90/dns.keiu.net/dns.keiu.net.key
|
||||
tls /var/lib/caddy/data/caddy/certificates/acme.zerossl.com-v2-dv90/keiu.net/keiu.net.crt /var/lib/caddy/data/caddy/certificates/acme.zerossl.com-v2-dv90/keiu.net/keiu.net.key
|
||||
reload
|
||||
prometheus 0.0.0.0:9153
|
||||
hosts {
|
||||
|
|
Loading…
Add table
Reference in a new issue