mirror of
https://git.nolog.cz/NoLog.cz/nginx-configurator.git
synced 2025-01-31 03:43:35 +01:00
763 B
763 B
Nginx configurator (patent for that name is pending...)
TODO
- Prepare config templates for nginx and dehydrated?
- document dhparam.pem generation (
openssl dhparam -out ssl-dhparams.pem 4096
in /etc/autossl) - Limit current SSH keys to only config rsync and nginx reload
- Write down how it works in human language
- Create a guide how to use it to intrawiki
- Teach everybody how to use it...
Setup
python3 -m venv .venv
source .venv/bin/activate
pip3 install -r ./requirements.txt
cp env.sample .env
# and customize to your needs
Contributions
Please use black
formatter.
You can automate the process by running cp .githooks/pre-commit .git/hooks/pre-commit && chmod +x .git/hooks/pre-commit
after pulling the repository.