This repository has been archived on 2021-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
install-server/roots/etc/nginx/sites-available/default

24 lines
558 B
Plaintext

server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www/html;
server_name _ default;
#location ~ /\.well-known/acme-challenge {
# include /etc/nginx/conf.d/proxy.conf;
# proxy_pass http://127.0.0.1:81;
#}
location ~ /\.well-known/acme-challenge {
root /var/www/letsencrypt/paste.drycat.fr;
allow all;
}
#location ~ "^/\.well-known/acme-challenge/([-_a-zA-Z0-9]+)$" {
# default_type text/plain;
# return 200 "$1.r_nPj5_YcCSwTNQOUfesQKbMeeTR7yQP_YfohDlF6EA";
#}
}