From 00242a1fc94bab5b44398062bbd7bdd560696bba Mon Sep 17 00:00:00 2001 From: Chris Caron Date: Sun, 27 Aug 2023 19:24:51 -0400 Subject: [PATCH] ipv6 attempt no2; refs #127 --- apprise_api/gunicorn.conf.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/apprise_api/gunicorn.conf.py b/apprise_api/gunicorn.conf.py index 81efdc5..f307eff 100644 --- a/apprise_api/gunicorn.conf.py +++ b/apprise_api/gunicorn.conf.py @@ -29,7 +29,7 @@ import multiprocessing # gunicorn --config core.wsgi:application raw_env = [ - 'LANG=en_US.UTF-8', + 'LANG={}'.format(os.environ.get('LANG', 'en_US.UTF-8')), 'DJANGO_SETTINGS_MODULE=core.settings', ] @@ -38,7 +38,10 @@ pythonpath = '/opt/apprise/webapp' # bind to port 8000 bind = [ + # ipv4 '0.0.0.0:8000', + # ipv6 + '[::]:8000' ] # Workers are relative to the number of CPU's provided by hosting server