docker icon indicating copy to clipboard operation
docker copied to clipboard

502 Bad Gateway

Open nenads opened this issue 4 years ago • 5 comments

Using lates development:

what is 7.11 ? in docker-compsoe ?

docker ps -q | xargs -n 1 docker inspect --format '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}} {{ .Name }}' | sed 's/ // /'

bbb-docker_nginx_1 10.7.7.200 bbb-docker_html5-frontend-1_1 10.7.7.100 bbb-docker_html5-backend-1_1 10.7.7.4 bbb-docker_etherpad_1 10.7.7.16 bbb-docker_recordings_1 10.7.7.10 bbb-docker_webrtc-sfu_1 10.7.7.15 bbb-docker_apps-akka_1 10.7.7.2 bbb-docker_bbb-web_1 bbb-docker_kurento_1 10.7.7.33 bbb-docker_prometheus-exporter_1 172.20.0.3 bbb-docker_greenlight_1 bbb-docker_freeswitch_1 10.7.7.14 bbb-docker_fsesl-akka_1 10.7.7.12 bbb-docker_periodic_1 10.7.7.5 bbb-docker_redis_1 10.7.7.6 bbb-docker_mongodb_1 172.20.0.2 bbb-docker_postgres_1 10.7.7.20 bbb-docker_jodconverter_1 bbb-docker_https_proxy_1

nenads avatar Apr 05 '21 09:04 nenads

Ok after checking inside nginx config in runing docker it was targeting dev setup not production multiple node setup docker-compose build did a trick.

maybe issue is when you have only one node instance in .env will check more

what is interesting this was fresh system. no previus images or anything like that.

nenads avatar Apr 06 '21 06:04 nenads

can you share your nginx config?

doodlemania2 avatar Apr 28 '21 02:04 doodlemania2

What is your issue ? Latest version works.

if you are not behind nat modify this

/mod/https/site-ipv4only.conf

listen [::]:443 ssl http2 default_server; server_name _; resolver (yourbublic ip) valid=60s; -- add this line

rebuild and start

nenads avatar Apr 28 '21 09:04 nenads

Actually, was looking for a sample nginx config since the doc is still TBD there. Not a nginx master :)

doodlemania2 avatar Apr 28 '21 14:04 doodlemania2

I am new to ubuntu and docker I have encountered a similar problem and I was given a 502 error when calling the site. After I restart the server, it gives below error. This site can’t be reached

amira133 avatar Aug 08 '21 07:08 amira133