Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Icon-Fonts not loading when behind proxy #15188

Closed
EDV-Eberhardt opened this issue Nov 22, 2019 · 1 comment
Closed

Icon-Fonts not loading when behind proxy #15188

EDV-Eberhardt opened this issue Nov 22, 2019 · 1 comment
Labels
answered For when a question was asked and we referred to forum or answered it.

Comments

@EDV-Eberhardt
Copy link

Hey folks, today we installed Matomo over docker compose behind our nginx proxy. Everything seems to work except the icon fonts. We are getting a 404 for the matomo.woff/.ttf files.

We checked the folder an the files are there:

/var/www/html/plugins/Morpheus/fonts # ls README.md matomo.ttf matomo.woff2 piwik.ttf piwik.woff2 matomo.svg matomo.woff piwik.svg piwik.woff selection.json

Also other Images from the Morpheus-Folder are working correctly.

We are using this snippet in the nginx-config...can't see any problem here...

location ~ \.(gif|ico|jpg|png|svg|js|css|htm|html|mp3|mp4|wav|ogg|avi|ttf|eot|woff|woff2|json)$ { allow all; ## Cache images,CSS,JS and webfonts for an hour ## Increasing the duration may improve the load-time, but may cause old files to show after an Matomo upgrade expires 1h; add_header Pragma public; add_header Cache-Control "public"; }

Any ideas guys? Thanks!

@tsteur
Copy link
Member

tsteur commented Nov 24, 2019

Hi there,

I recommend you ask this question in the forum https://forum.matomo.org/ as we don't troubleshoot specific server setups in our issue tracker but only handle bug reports and feature requests here. Maybe someone with Nginx knowledge can help you there. Maybe check out also https://github.com/matomo-org/matomo-nginx

Cheers

@tsteur tsteur closed this as completed Nov 24, 2019
@tsteur tsteur added the answered For when a question was asked and we referred to forum or answered it. label Nov 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it.
Projects
None yet
Development

No branches or pull requests

2 participants