Skip to content

Commit 7e08c18

Browse files
authored
Traefik SSL guide: Apache not needed for htpasswd (#53)
Installing apache in many cases make apache automatically start and bind to port 80. This causes traefik to not work later on since port 80 is already in use. apache2-utils is enough to get access to htpasswd. Alternatively, installation of apache2-utils could be skipped altogether with `echo "USER:$(openssl passwd -apr1 PASSWORD)" | sed -e s/\\$/\\$\\$/g`, but I haven't tried it personally.
1 parent 6041914 commit 7e08c18

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

_posts/2021-04-17-traefik-portainer-ssl.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ mkdir data
109109

110110
```bash
111111
sudo apt update
112-
sudo apt install apache2 apache2-utils
112+
sudo apt install apache2-utils
113113
```
114114

115115
```bash
@@ -133,4 +133,4 @@ nano config.yml
133133

134134
```bash
135135
docker-compose -d --force-recreate
136-
```
136+
```

0 commit comments

Comments
 (0)