certbot input logic
This commit is contained in:
parent
0f05c83f4a
commit
0d9f8dd8cd
@ -25,5 +25,12 @@ server {
|
||||
listen 80 ;
|
||||
listen [::]:80 ;
|
||||
server_name _;
|
||||
return 301 https://$host$request_uri;
|
||||
|
||||
location /.well-known/acme-challenge/ {
|
||||
root /var/www/certbot;
|
||||
}
|
||||
|
||||
location / {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
}
|
||||
|
@ -7,4 +7,5 @@ services:
|
||||
restart: always
|
||||
volumes:
|
||||
- ./nginx/certs/:/etc/nginx/certs/:ro
|
||||
- ./certbot/www:/var/www/certbot/:ro
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user