12 lines
226 B
Plaintext
12 lines
226 B
Plaintext
|
# Handle .well-known for all domains.
|
||
|
server {
|
||
|
listen 80 default_server;
|
||
|
listen [::]:80 default_server;
|
||
|
location /.well-known/ {
|
||
|
alias /srv/http/.well-known/;
|
||
|
}
|
||
|
location / {
|
||
|
return 301 https://$host$request_uri;
|
||
|
}
|
||
|
}
|