diff --git a/server-ce/docker-compose.yml b/server-ce/docker-compose.yml index cfb2ef3a4e..6bc502d52b 100644 --- a/server-ce/docker-compose.yml +++ b/server-ce/docker-compose.yml @@ -119,12 +119,18 @@ services: # container_name: ldap # expose: # - 389 -# nginx-proxy: -# image: jwilder/nginx-proxy -# container_name: nginx-proxy -# ports: -# #- "80:80" -# - "443:443" -# volumes: -# - /var/run/docker.sock:/tmp/docker.sock:ro -# - /home/sharelatex/tmp:/etc/nginx/certs + + # See https://github.com/jwilder/nginx-proxy for documentation on how to configure the nginx-proxy container, + # and https://github.com/overleaf/overleaf/wiki/HTTPS-reverse-proxy-using-Nginx for an example of some recommended + # settings. We recommend using a properly managed nginx instance outside of the Overleaf Server Pro setup, + # but the example here can be used if you'd prefer to run everything with docker-compose + + # nginx-proxy: + # image: jwilder/nginx-proxy + # container_name: nginx-proxy + # ports: + # #- "80:80" + # - "443:443" + # volumes: + # - /var/run/docker.sock:/tmp/docker.sock:ro + # - /home/sharelatex/tmp:/etc/nginx/certs