First version

This commit is contained in:
andy committed 2026-10-15 20:44:05 -03:00
commit 243e92a9dd
84 files changed
+4012

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
[Unit]
Description=Contest firewall proxy (checks the site name of HTTPS connections)
After=network.target firewall.service
PartOf=firewall.service
# Started and stopped with firewall.service (no [Install] section on purpose)
[Service]
Type=simple
ExecStartPre=/usr/sbin/nginx -t -q -c /etc/contest-firewall/contest-proxy.conf
ExecStart=/usr/sbin/nginx -c /etc/contest-firewall/contest-proxy.conf -g 'daemon off;'
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
RestartSec=2