Use template mechanism of nginx image
diff --git a/docker-compose.yml b/docker-compose.yml
index c87ce6a..1396bd1 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -18,9 +18,9 @@
volumes:
- ./certbot/www/:/var/www/certbot/:ro
- ./certs/:/etc/nginx/certs/:rw
- - ./nginx/sa.conf:/etc/nginx/conf.d/default.conf.template:ro
- - ./nginx/id.sa.conf:/etc/nginx/conf.d/id.sa.conf.template:ro
- - ./nginx/review.sa.conf:/etc/nginx/conf.d/review.sa.conf.template:ro
+ - ./nginx/sa.conf:/etc/nginx/templates/default.conf.template:ro
+ - ./nginx/id.sa.conf:/etc/nginx/templates/id.sa.conf.template:ro
+ - ./nginx/review.sa.conf:/etc/nginx/templates/review.sa.conf.template:ro
- ./logs/nginx:/var/log/nginx/:rw
postgres:
build: