No description
Find a file
2023-11-04 23:34:10 +01:00
.githooks Add info about git hook for black 2023-10-25 19:44:27 +02:00
nginx_configurator add shell complete 2023-11-04 23:34:10 +01:00
.gitignore rewrite 2023-11-04 23:08:15 +01:00
build.sh do not build zipapps because theyre slow 2023-11-04 23:33:41 +01:00
clusters.json.example basic config generator from prompt 2023-10-25 19:06:28 +02:00
env.sample ehh. I'm sorry. 2023-10-26 15:55:27 +02:00
README.md ehh. I'm sorry. 2023-10-26 15:55:27 +02:00
requirements.txt rewrite 2023-11-04 23:08:15 +01:00
run.py rewrite 2023-11-04 23:08:15 +01:00

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.