Discourse with Nginx proxy | error

(Johnny) #1


I followed both the ways:


But still it doesn’t work. I can’t start nginx if app is running because of ports. if I stop app and run nginx, I can’t start app.

Docker error:
Handler for POST /v1.24/containers/app/start returned error: driver failed programming external connectivity on endpoint app (ed67a2541b0a12676ee025b661ee166f0de96b62f420007c88ecdc62f15d7302): Error starting userland proxy: listen tcp bind: address already in use



my Nginx configuration file for my domain.


any help?

(Rafael dos Santos Silva) #2

Remove line 26 of the app.yml

(Johnny) #3

Thank you. its working now. But now the page is blank. I see only a title on my domain i.e Discourse. if I right click and view source, It’s visible. but page remains blank.

EDIT: on checking logs (./launcher logs app) it seems that every file is being “permission denied”…
But don’t know why? I changed the user and group of discourse directory from root to normal user. and now its saying permission denied.

(Kane York) #4

Why do you still have the cron and sshd templates?

You may want to recreate your app.yml.

(Johnny) #5

Hi the issue was revolved. I just created a subdomain, and its working fine now. Looks like, discourse works well on sub-domains.