add lights conf and also a script to add a new conf with the correct ownership
parent
ab07d9c4a4
commit
efcb038f9e
|
@ -0,0 +1,16 @@
|
|||
#!/bin/bash
|
||||
(r53) {
|
||||
tls {
|
||||
dns lego_deprecated route53
|
||||
}
|
||||
}
|
||||
# Main http/https redirect for anything arriving on port 80/http
|
||||
*.kebler.net:80 {
|
||||
redir https://{label1}.kebler.net{uri}
|
||||
}
|
||||
|
||||
# Git Server
|
||||
https://dev.lights.kebler.net, https://dev.lights.238.kebler.net {
|
||||
import r53
|
||||
reverse_proxy http://lights.kebler.net:8080
|
||||
}
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
touch /opt/caddy/conf/$1.conf
|
||||
sudo chown caddy:sysadmin /opt/caddy/conf/$1.conf
|
Loading…
Reference in New Issue