patschi / parsedmarc-dockerized

Dockerized self-initializing parsedmarc docker stack for lazy people
GNU General Public License v3.0
78 stars 21 forks source link

use htpassword #15

Closed alainseys closed 1 year ago

alainseys commented 1 year ago

Hi ,

is there a way to use htpassword on the nginx because i run the docker containers i get me straigt to the details page an evryone can access this.

so my idea was to add htpassword but how to i transfer the htpasswd to the docker container?

alainseys commented 1 year ago

you can close this issue my .htpassword had not the . in front of the file and adding a volume mount in docker compse - ./data/conf/nginx/.htpasswd:/etc/nginx/.htpasswd:ro

this works as expected