bundles/nginx: only redirect to ssl for sites which actually have ssl enabled
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
690e56f558
commit
44d42de81c
3 changed files with 33 additions and 29 deletions
|
@ -4,11 +4,6 @@ server {
|
|||
server_name _;
|
||||
|
||||
location / {
|
||||
return 308 https://$host$request_uri;
|
||||
return 404;
|
||||
}
|
||||
% if needs_le:
|
||||
location /.well-known/acme-challenge/ {
|
||||
alias /var/lib/dehydrated/acme-challenges/;
|
||||
}
|
||||
% endif
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue