wiki:lets_encrypt_nginx_reverse_proxy
Table of Contents
Lets Encrypt with an nginx reverse proxy
Modify your server clause to allow the subdirectory .well-known to be served from a local directory, eg:
server { listen 80; server_name sub.domain.com www.sub.domain.com; […] location /.well-known { alias /var/www/sub.domain.com/.well-known; } location / { # proxy commands go here […] } }
Tested on
See also
References
wiki/lets_encrypt_nginx_reverse_proxy.txt · Last modified: 2021/06/04 10:59 by antisa