sintaxi / surge

CLI for the surge.sh CDN
https://surge.sh
2.84k stars 136 forks source link

cannot serve files within hidden directory's subdirectory #383

Open jfols opened 4 years ago

jfols commented 4 years ago

I'm attempting to use Let's Encrypt's manual cert verification which requires challenges to be served from domain.com/.well-known/acme-challenge/some-long-random-file-name.

I have a .surgeignore with !.well-known, however surge doesn't want to server any files from subdirectories of .well-known. I can however serve files from /.well-known. I've also attempted to add a more explicit rules like !.well-known/acme-challenge with no success.

Any thoughts?