hurlenko / filebrowser-docker

🐳 filebrowser inside Docker container
304 stars 29 forks source link

Use behind nginx proxy manager #20

Open skollrc opened 2 years ago

skollrc commented 2 years ago

Hi, I use filebrowser in docker and would like to use it behind nginx proxy manager in https. Curruntly I'm stuck with http only and I can't get https working. Any clues?

King regards

baddate commented 2 years ago

Hi, I was getting everything works well. like this: image

this is my npm config: image

how did you config your proxy host?

skollrc commented 2 years ago

Hi,

Exactly as you did in the picture + ssl. Did you changed sth into your docker config? Did you use custom locations or sth in advanced panel?

In the Readme, you put a nginx config. How did you deal with this in nginx proxy manager?

baddate commented 2 years ago

What you need to do is changing data dir and config dir with your dirs in docker-compose.yml, then run docker compose up -d in your yml file dir. btw, maybe you should change your mapping port to another one.

Also I didn't use custom locations. like what you said, we just need config Details and SSL tabs.

In the Readme, you put a nginx config. How did you deal with this in nginx proxy manager?

  1. Go to SSL Certificates Tab and add a ssl cert for you domain.
  2. Go to Hosts -> Proxy Hosts and add one(config like the second pics).