mirror of
https://github.com/caronc/apprise-api.git
synced 2025-02-10 06:49:49 +01:00
ipv6 attempt no2; refs #127
This commit is contained in:
parent
03cca96831
commit
00242a1fc9
@ -29,7 +29,7 @@ import multiprocessing
|
|||||||
# gunicorn --config <this file> core.wsgi:application
|
# gunicorn --config <this file> core.wsgi:application
|
||||||
|
|
||||||
raw_env = [
|
raw_env = [
|
||||||
'LANG=en_US.UTF-8',
|
'LANG={}'.format(os.environ.get('LANG', 'en_US.UTF-8')),
|
||||||
'DJANGO_SETTINGS_MODULE=core.settings',
|
'DJANGO_SETTINGS_MODULE=core.settings',
|
||||||
]
|
]
|
||||||
|
|
||||||
@ -38,7 +38,10 @@ pythonpath = '/opt/apprise/webapp'
|
|||||||
|
|
||||||
# bind to port 8000
|
# bind to port 8000
|
||||||
bind = [
|
bind = [
|
||||||
|
# ipv4
|
||||||
'0.0.0.0:8000',
|
'0.0.0.0:8000',
|
||||||
|
# ipv6
|
||||||
|
'[::]:8000'
|
||||||
]
|
]
|
||||||
|
|
||||||
# Workers are relative to the number of CPU's provided by hosting server
|
# Workers are relative to the number of CPU's provided by hosting server
|
||||||
|
Loading…
Reference in New Issue
Block a user