Skip to content

Commit

Permalink
ipv6 attempt no2; refs #127
Browse files Browse the repository at this point in the history
  • Loading branch information
caronc committed Aug 27, 2023
1 parent 03cca96 commit 00242a1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion apprise_api/gunicorn.conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
# gunicorn --config <this file> 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',
]

Expand All @@ -38,7 +38,10 @@

# 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
Expand Down

0 comments on commit 00242a1

Please sign in to comment.