Files
Florian THIERRY 7bf349340a Initial commit.
2025-06-13 23:34:26 +02:00

497 B

Generate user-password tuple

Install utility tool:

sudo apt install apache2-utils

Generate tuple when file .htpasswd does not exist yet:

htpasswd -c ./.htpasswd myuser
# Then type password twice

Generate tuple when file .htpasswd already exists:

htpasswd ./.htpasswd myuser
# Then type password twice

Launch server

docker compose up

Access to secret file

http://localhost:50080/secret-file.txt