forked from pool/dehydrated
10d381b04a
Lightweight LE client (formally known as letsencrypt.sh). I'll maintain in in TW. OBS-URL: https://build.opensuse.org/request/show/441496 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/dehydrated?expand=0&rev=1
22 lines
528 B
Plaintext
22 lines
528 B
Plaintext
# This adds a the acme challenge directory to
|
|
# your hosts config file. You will only need
|
|
# this on port 80. The following snippet shows
|
|
# how to use in on a HTTP server that only
|
|
# redirects to HTTPS otherwise. it's important
|
|
# to wrap the rest into a "location /" block.
|
|
#
|
|
#server {
|
|
# listen 80 default_server;
|
|
# listen [::]:80 default_server;
|
|
#
|
|
# include "acme-challenge";
|
|
# location / {
|
|
# return 301 https://$host$request_uri;
|
|
# }
|
|
#}
|
|
|
|
location /.well-known/acme-challenge {
|
|
alias @CHALLENGEDIR@;
|
|
}
|
|
|