Published a year ago
Published a year ago
LeonTA
Updated 2 years ago
0
Hi all
I've installed this awesome application, my current infrastructure to expose my services is caddy for reverse proxy and in the middle authelia.
I've installed SafeLine in a docker, but when I add a site I receive this error "listen tcp :80: bind: address already in use".
Can someone help me or have the same issue?
I believe that the port 80 is used from caddy, while 433 currently is used from vault warden.
Regards and thanks to all
Naldela Teleyal
Updated 2 years ago
0
SafeLine is a reverse proxy service like caddy. When you add a service, you need to select a different port and point your caddy to this port.
Naldela Teleyal
Updated 2 years ago
0
I guess, your caddy is already listening on port 80 and 443.
So, you would need to add your service in SaeLine on, for example, port 6080, then you tell your caddy, to forward traffic to this port.
Naldela Teleyal
Updated 2 years ago
0
For example my usage:
LeonTA
Updated 2 years ago
0
👍
LeonTA
Updated 2 years ago
0
And what about authelia it is a middleware too
Naldela Teleyal
Updated 2 years ago
As Authelia is for authentication, I would place it after SafeLine. So caddy -> SafeLine -> Authelia -> Service
LeonTA
Updated 2 years ago
0
Sorry for boring you but how I have to configure SafeLine if I use cloudflare
LeonTA
Updated 2 years ago
0
?
Naldela Teleyal
Updated 2 years ago
0
If Cloudflare is already configured to use your caddy, you don't need to change this
LeonTA
Updated 2 years ago
0
So instead to use reverse proxy would be better use redirect ?
Naldela Teleyal
Updated 2 years ago
0
Why?