feat: re-add certbot confs
This commit is contained in:
@@ -72,6 +72,7 @@ services:
|
||||
depends_on:
|
||||
- wordpress
|
||||
volumes:
|
||||
- site_data:/var/www/wordpress
|
||||
- ./nginx/secure/:/etc/nginx/templates/
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- ./nginx/certbot/conf:/etc/letsencrypt
|
||||
|
||||
@@ -24,8 +24,8 @@ server {
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
ssl_certificate /etc/letsencrypt/live/${APP_DOMAIN}/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/${APP_DOMAIN}/privkey.pem;
|
||||
# include /etc/letsencrypt/options-ssl-nginx.conf;
|
||||
# ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
|
||||
include /etc/letsencrypt/options-ssl-nginx.conf;
|
||||
ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
|
||||
|
||||
location ~ \.php$ {
|
||||
try_files $uri =404;
|
||||
|
||||
Reference in New Issue
Block a user