forked from pool/dehydrated
78d0c8ad7b
- Unify configuration file source names - Bump to 0.4.0 OBS-URL: https://build.opensuse.org/request/show/459171 OBS-URL: https://build.opensuse.org/package/show/security:dehydrated/dehydrated?expand=0&rev=7
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@;
|
|
}
|
|
|