2024-05-29 13:11:22 +02:00
|
|
|
# Setup caddy config
|
2024-05-30 13:12:07 +02:00
|
|
|
mkdir -p /etc/caddy
|
2024-05-29 13:11:22 +02:00
|
|
|
cp -R ./caddy/* /etc/caddy
|
|
|
|
|
|
|
|
# Setup caddy service
|
|
|
|
cp ./caddy/systemd/caddy.service /etc/systemd/system
|
|
|
|
|
|
|
|
# Start caddy
|
2024-05-29 13:51:35 +02:00
|
|
|
systemctl deamon-reload
|
|
|
|
systemctl enable caddy
|
2024-05-29 14:01:52 +02:00
|
|
|
systemctl start caddy
|