PierreZ / goStatic

A really small static web server for Docker
GNU General Public License v2.0
395 stars 77 forks source link

http basic auth never prompts or allows a login #9

Closed extremeshok closed 7 years ago

extremeshok commented 7 years ago

example

docker stop goStatic && docker rm goStatic && docker run -d -p 8088:8043 -v /backup/www:/srv/http --name goStatic pierrezemb/gostatic -enable-basic-auth -set-basic-auth "user:pass"

http://user:pass@docker.example.com:8088/

results in authorization failed

PierreZ commented 7 years ago

Bad copy/paste between computers, sorry about that :tongue:. Should be fixed. Can you confirm it's working as intended @extremeshok ?

extremeshok commented 7 years ago

@PierreZ

Confirmed working, thanks for the prompt fix.

$ echo "working" > /backup/www/index.html
$ curl gopher:A6A487691F79F0CF65FF867A5F62933D@127.0.0.1:8088
working