Closed davehunt closed 6 years ago
Notice that the static files are served directly via NGINX in the deployment. This is a dev fallback
Notice that the static files are served directly via NGINX in the deployment. This is a dev fallback
Hmm.. so is there another issue that's causing the glyphs to fail on https://servicebook.stage.mozaws.net/?
I suspect so. We should look at where Nginx looks for them and fail cc @ckolos
I see this in the error logs:
/data/servicbook/fonts/glyphicons-halflings-regular.ttf: No such file or directory
But I suspect a missing an 'e' in there somewhere b/c /data/servicebook/fonts/glyphicons-halflings-regular.ttf is definitely there ;)
[root@ip-172-31-46-103 static]# ls -lrt /data/servicebook/fonts/glyphicons-halflings-regular.ttf
-rw-r--r-- 1 root root 45404 Sep 18 18:12 /data/servicebook/fonts/glyphicons-halflings-regular.ttf
@ckolos there are several requests for fonts, an example that's returning 404 is https://servicebook.stage.mozaws.net/fonts/glyphicons-halflings-regular.ttf
Is this an nginx configuration issue?
yes; that's where the 'e' was missing
@ckolos I'm confused, is this something you've fixed? It does appear to be working now.
Yes. I fixed it and pending a PR landing in our deployment code, it will not happen again.
_FONTS
was including the directory name serviceweb, which meant the font files could not be found. Fixes #191