server { listen "127.0.0.1:80" listen "[::1]:80" listen "127.0.0.1:443" { ssl { cert { key "/path/to/privkey" cert "/path/to/fullchain" } } } listen "[::1]:443" { ssl { cert { key "/path/to/privkey" cert "/path/to/fullchain" } } } host { name "tglman.com" name "www.tglman.com" path "/" { location "/var/www/tglman_com/" } path "/listable" { list true location "/var/www/tglman_com/" } path "/.well-known/" { location "/var/www/tglman_com/.well-known/" header "Access-Control-Allow-Origin" "*" } log 100 300 level="info" // log 300 600 level="warn" } }