nginx-certbot icon indicating copy to clipboard operation
nginx-certbot copied to clipboard

- ./data/nginx:/etc/nginx/conf.d

Open sebdanielsson opened this issue 4 years ago • 1 comments

Changing the local path of the conf.d directory containing the app.conf file to it's own conf dir under nginx would make the structure more consistent with the other directories. It would also be a cleaner way to add some flexibility, for example you could put nginx.conf inside ./data/nginx/conf/nginx.conf and bind mount it straight to /etc/nginx/nginx.conf insted of having it being put to /etc/nginx/conf.d/nginx.conf like it does today.

Today: volumes: - ./data/nginx:/etc/nginx/conf.d - ./data/certbot/conf:/etc/letsencrypt - ./data/certbot/www:/var/www/certbot

New proposal: volumes: - ./data/nginx/conf/conf.d:/etc/nginx/conf.d - ./data/certbot/conf:/etc/letsencrypt - ./data/certbot/www:/var/www/certbot

sebdanielsson avatar Oct 25 '20 10:10 sebdanielsson

This makes a LOT more sense to me, it's just wiser to stick with the known locations of things because I'm struggling with your conf.d & app.conf differences.

samcov avatar Jan 03 '22 08:01 samcov