1
0
Fork 0

moved Caddyfile from caddy/ to root of repo

This commit is contained in:
Pratham Patel 2022-07-22 21:09:46 +05:30
parent 4f32ca2501
commit 09b05823b9
2 changed files with 50 additions and 29 deletions

50
Caddyfile Normal file
View File

@ -0,0 +1,50 @@
blog.thefossguy.com {
tls /etc/ssl/certs/certificate.pem /etc/ssl/private/key.pem
reverse_proxy hugo-vaikunthnatham:1313
}
thefossguy.com {
tls /etc/ssl/certs/certificate.pem /etc/ssl/private/key.pem
redir https://blog.thefossguy.com{uri}
}
www.thefossguy.com {
tls /etc/ssl/certs/certificate.pem /etc/ssl/private/key.pem
redir https://blog.thefossguy.com{uri}
}
git.thefossguy.com {
tls /etc/ssl/certs/certificate.pem /etc/ssl/private/key.pem
reverse_proxy gitea-govinda:3000
}
src.thefossguy.com {
tls /etc/ssl/certs/certificate.pem /etc/ssl/private/key.pem
redir https://git.thefossguy.com{uri}
}
mach.thefossguy.com {
tls /etc/ssl/certs/certificate.pem /etc/ssl/private/key.pem
reverse_proxy hugo-mahayogi:1313
}
fuck.thefossguy.com {
tls /etc/ssl/certs/certificate.pem /etc/ssl/private/key.pem
redir https://mach.thefossguy.com{uri}
}
cloud.thefossguy.com {
tls /etc/ssl/certs/certificate.pem /etc/ssl/private/key.pem
reverse_proxy nextcloud-govinda:80
}
storage.thefossguy.com {
tls /etc/ssl/certs/certificate.pem /etc/ssl/private/key.pem
redir https://cloud.thefossguy.com{uri}
}

View File

@ -1,29 +0,0 @@
thefossguy.com {
tls /etc/ssl/certs/certificate.pem /etc/ssl/private/key.pem
reverse_proxy
}
www.thefossguy.com {
tls /etc/ssl/certs/certificate.pem /etc/ssl/private/key.pem
reverse_proxy
}
git.thefossguy.com {
tls /etc/ssl/certs/certificate.pem /etc/ssl/private/key.pem
reverse_proxy
}
cloud.thefossguy.com {
tls /etc/ssl/certs/certificate.pem /etc/ssl/private/key.pem
reverse_proxy
}
mach.thefossguy.com {
tls /etc/ssl/certs/certificate.pem /etc/ssl/private/key.pem
reverse_proxy
}
fuck.thefossguy.com {
tls /etc/ssl/certs/certificate.pem /etc/ssl/private/key.pem
reverse_proxy
}