planka icon indicating copy to clipboard operation
planka copied to clipboard

Access from LAN and reverse proxy

Open martabal opened this issue 2 years ago • 5 comments

I can access planka from my LAN and with a domain name with a reverse proxy based on the base_url variable. Is it possible to access the service from the lan (http://192.168.1.x:3000) AND with a domain name (https://my.domain.name) ?

martabal avatar Sep 13 '22 20:09 martabal

Hi! Unfortunately, this is not supported yet 😔

meltyshev avatar Sep 16 '22 09:09 meltyshev

Oooh too bad ... Anyway, thank you for this beautiful project !

martabal avatar Sep 17 '22 20:09 martabal

Hi, I've the same request. For security raison, it would be nice if this were possible. Planka is a great project....thanks for the work.

tikok974 avatar Nov 17 '22 08:11 tikok974

@martabal , @tikok974 there is a workaround - add external domain name in your hosts file with the local IP for the docker container. Of course it doesn't scale well, but if you have one or two machines, that might help.

PiRXlv avatar May 15 '23 17:05 PiRXlv

If anyone encountered the inability to connect to docker-compose built planka that is behind reverse proxy (even after adding the external domain to hosts file for bypassing nat loopback), then try using nginx config from the documentation: https://docs.planka.cloud/docs/Configuration/webserver/NGINX/

OzoneReloaded avatar May 24 '23 04:05 OzoneReloaded