rfhs / rfctf-container

scripts that go in the rfctf container
BSD 2-Clause "Simplified" License
17 stars 9 forks source link

Nginx frontend #15

Closed Gobo42 closed 10 months ago

Gobo42 commented 10 months ago

build-nginx.sh builds the container and the config files, runs the container, calls certbot to get a cert, and then restarts nginx.

start-nginx.sh starts the container and tries to refresh the cert and then restarts nginx.

ZeroChaos- commented 10 months ago

New files don't usually need a PR as they won't hurt anything if you add them. In a quick review I don't like the way the docker stuff is handled but the certbot stuff is useful enough that I'm just going to merge this and then change the docker stuff to be how I want it. Thanks for automating, it saved me a lot of time and pain.