Fix listen on noth IPv4 and IPv6

This commit is contained in:
Ashutosh Varma 2025-03-02 17:50:29 +05:30
parent 8cfbbbb1e9
commit 5659aad8e7
No known key found for this signature in database
GPG key ID: AA638426EB5B4DF3
4 changed files with 5 additions and 3 deletions

View file

@ -147,7 +147,7 @@ VOLUME [ \
CMD [ \
"/home/frappe/frappe-bench/env/bin/gunicorn", \
"--chdir=/home/frappe/frappe-bench/sites", \
"--bind=0.0.0.0:8000", \
"--bind=[::]:8000", \
"--threads=4", \
"--workers=2", \
"--worker-class=gthread", \

View file

@ -47,7 +47,7 @@ VOLUME [ \
CMD [ \
"/home/frappe/frappe-bench/env/bin/gunicorn", \
"--chdir=/home/frappe/frappe-bench/sites", \
"--bind=0.0.0.0:8000", \
"--bind=[::]:8000", \
"--threads=4", \
"--workers=2", \
"--worker-class=gthread", \

View file

@ -136,7 +136,7 @@ VOLUME [ \
CMD [ \
"/home/frappe/frappe-bench/env/bin/gunicorn", \
"--chdir=/home/frappe/frappe-bench/sites", \
"--bind=0.0.0.0:8000", \
"--bind=[::]:8000", \
"--threads=4", \
"--workers=2", \
"--worker-class=gthread", \

View file

@ -8,6 +8,8 @@ upstream socketio-server {
server {
listen 8080;
listen [::]:8080;
server_name ${FRAPPE_SITE_NAME_HEADER};
root /home/frappe/frappe-bench/sites;