Site doesn't launch after bringing back nginx reverse proxy


(Pad Pors) #1

recently our users had faced some issues accessing the site correctly, describing in these three posts:

  1. How to find out about 504 errors and the reasons?
  2. How is your experience with discourse-mobile?
  3. SSL received a record that exceeded the maximum permissible length

one guess was to remove the nginx reverse proxy, and check if things go back to normal. to do that, I followed the following steps:

  1. changing the app.yml file as below (templates and ports):

  1. stopping the app and removing nginx using command below:
    sudo ./launcher stop app
    sudo apt-get remove nginx

  2. and then rebuilding the app:
    sudo ./launcher rebuild app

the rebuild process seems to end without any error, but the site is not loading.

is there any other thing to do in order to bring the nginx inside the docker?

previously we’d used this howto document to use reverse proxy for our installation: Running other websites on the same machine as Discourse


SSL received a record that exceeded the maximum permissible length
How to find out about 504 errors and the reasons?
(Pad Pors) #2

the problem has been solved with a commenting a template: web.socketed.template.yml .