fix limirating being fucked up because of being behind a reverse proxy ... workaround the issue by forwarding directly to the IP/port from the front instead of having an extra nginx along the way

This commit is contained in:
Alexandre Aubin 2024-08-17 15:12:56 +02:00
parent 72254665a6
commit b672660453

View file

@ -2,7 +2,7 @@ command = "/var/www/dynette/venv/bin/gunicorn"
pythonpath = "/var/www/dynette"
workers = 4
user = "dynette"
bind = "unix:/var/www/dynette/sock"
bind = ['0.0.0.0:9876']
pid = "/run/gunicorn/dynette-pid"
errorlog = "/var/log/dynette/error.log"
accesslog = "/var/log/dynette/access.log"