libresh / compose-matomo

Matomo docker-compose application for libre.sh-v1
GNU Affero General Public License v3.0
179 stars 67 forks source link

nginx configuration in a subfolder #14

Closed innuendonh closed 7 years ago

innuendonh commented 7 years ago

Hello, I am testing this setup, and I am finding hard to configure nginx to host piwik in a subfolder. The goal is to have a setup like this:

I tried to change both the nginx configuration file shipped in this project and adding a reverse proxy pointing to it, but failed both.

Any idea if this can be achieved?

Thanks

pierreozoux commented 7 years ago

Hi, is it related to this issue? https://gitlab.com/gitlab-org/gitlab-ce/issues/19428

innuendonh commented 7 years ago

Hi, no, actually I am testing piwik without any webapp running; I cannot even access it through /piwik to configure it, so I am not tracking anything yet. I was just looking for some ideas on how to configure the service to run in a subfolder instead of its own domain name.

Thank you

pierreozoux commented 7 years ago

It is just an nginx configuration.

As it is not really related to docker-compose, then, I'd prefer to close to keep the numbers of issues low here.

Did you manage to find a solution, or do you still need help? I'm trying to create a community for exactly this kind of questions: https://forum.indie.host/c/libresh

So please feel free to reopen there.

innuendonh commented 7 years ago

Did you manage to find a solution, or do you still need help?

Actually, I solved by defining a dedicated hostname, and everything is working fine.

So, thank you for the support. If I'll have the chance, I'll make some new experiments and re-open on the ref you supplied.