diff options
-rw-r--r-- | debian/control | 2 | ||||
-rw-r--r-- | debian/nginx-letsencrypt.install | 1 | ||||
-rw-r--r-- | letsencrypt | 4 |
3 files changed, 1 insertions, 6 deletions
diff --git a/debian/control b/debian/control index 486d878..a20c14d 100644 --- a/debian/control +++ b/debian/control @@ -8,7 +8,7 @@ Vcs-Git: https://github.com/jodersky/nginx-letsencrypt.git Package: nginx-letsencrypt Architecture: all -Depends: nginx letsencrypt ${misc:Depends} +Depends: nginx, letsencrypt, ${misc:Depends} Description: Issue certificates by letsencrypt for nginx virtual hosts. Simplify the process by which letsencrypt certificates are issued for virtual hosts controlled by nginx. diff --git a/debian/nginx-letsencrypt.install b/debian/nginx-letsencrypt.install index 995b7ac..74e0cc8 100644 --- a/debian/nginx-letsencrypt.install +++ b/debian/nginx-letsencrypt.install @@ -1,3 +1,2 @@ nginx-letsencrypt usr/bin letsencrypt etc/nginx -letsencryptdomains etc/nginx diff --git a/letsencrypt b/letsencrypt index 9e2c06b..b829df6 100644 --- a/letsencrypt +++ b/letsencrypt @@ -5,10 +5,6 @@ location ^~ /.well-known/acme-challenge/ { default_type "text/plain"; root /var/www/letsencrypt; } - -# Hide /acme-challenge subdirectory and return 404 on all requests. -# It is somewhat more secure than letting Nginx return 403. -# Ending slash is important! location = /.well-known/acme-challenge/ { return 404; } |