Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/idrinth/webroot
This small package helps managing certificates for an apache2 automatically. It also provides a reasonable catch all page for visitors who misstyped a project.
https://github.com/idrinth/webroot
apache2 cron lets-encrypt virtual-host website
Last synced: about 2 months ago
JSON representation
This small package helps managing certificates for an apache2 automatically. It also provides a reasonable catch all page for visitors who misstyped a project.
- Host: GitHub
- URL: https://github.com/idrinth/webroot
- Owner: Idrinth
- License: mit
- Created: 2023-02-17T08:38:32.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2023-06-27T04:59:49.000Z (over 1 year ago)
- Last Synced: 2024-10-26T14:06:21.837Z (3 months ago)
- Topics: apache2, cron, lets-encrypt, virtual-host, website
- Language: PHP
- Homepage:
- Size: 46.9 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# idrinth/webroot
This small package helps managing certificates for an apache2 automatically. It also provides a reasonable catch all page for visitors who misstyped a project. It's for my personal use, but feel free to use or improve it.
## Deployment
Put into `/var/www`, run composer install and then run `php bin/setup.php` to generate the required configuration for your system.
## Setting up vhosts
Connect to mysql and enter the required information. Start with server(hostname of the mashine hosting the (sub-)domain), followed by domain(the top-level domain and it's contact data), then last fill out the virtualhost entry. Leave the name empty for no subdomain. Then run `php bin/cron.php` to generate the webroots and getting the let's encrypt certificated.
## Support
For support please join the [Discord](https://discord.gg/xHSF8CGPTh), if you have bugs or feature wishes please write an issue.