This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
# set root and server_name here | |
# only serve validation files for Let's Encrypt on port 80 | |
location /.well-known/acme-challenge/ { | |
try_files $uri /dev/null =404; | |
} | |
# otherwise to SSL |