DEV Community

Discussion on: Setting up a Reverse-Proxy with Nginx and docker-compose

Collapse
 
mornedup profile image
Morne Du Preez

hi

Like the article as it is clear and easy to follow.

I have followed your instructions as in the article up until the ssh cert setup.

So i have some issue where the reverse proxy complains that it does not have "events" in the configuration file.

Is there something that i missed somewhere?

side note:
your image was not available to use so i just replaced it with the hello-world image used to test if docker is working.

Collapse
 
domysee profile image
Dominik Weber

Hi, glad that it helped!

You probably already figured it out, you have to have an empty events section in the nginx.conf file.

I've added the complete nginx.conf and docker-compose.yml files at the end, which includes the events section.

I didn't want to go into the details of nginx, but this is definitely something I should've mentioned.

Sorry it took so long for me to reply!