caddy-script
caddy-script copied to clipboard
:whale: Caddy installation script
:whale: caddy-script
Caddy installation script
Features
- [x] Install Caddy v2.2.1
- [x] Install PHP 7.4
- [x] Install MariaDB
- [x] Register Caddy as a service with systemd
- [x] Configure Caddyfile with file_server, gzip, zstd, php_fastcgi
- [x] Install WordPress [optional]
Tested on
- Ubuntu 18.04
- Ubuntu 20.04
Usage
bash <(curl -s https://raw.githubusercontent.com/vintagesucks/caddy-script/v2/main.sh)
You'll be asked for your timezone, an email and the domain/ip to use.
Help
You can read the Caddy Documentation if you need more information about Caddy.
Acknowledgements
- Validating an IP Address in a Bash Script by Mitch Frazier
Contributors
Thanks goes to these wonderful people (emoji key):
Nikolas Evers 💻 🚧 |
Per Søderlind 🐛 💻 |
---|
This project follows the all-contributors specification. Contributions of any kind welcome!