artefactual / atom-docs

Access to Memory (AtoM) documentation
https://www.accesstomemory.org/docs
Creative Commons Attribution Share Alike 4.0 International
17 stars 26 forks source link

Enhancement: add woff2 file extension to Nginx sample configuration #290

Closed Jimadine closed 1 month ago

Jimadine commented 3 months ago

The current sample Nginx configuration includes a number of allowed paths and file extensions on line 17. However, woff2 is not one of the included extensions, which is an extension for web font files.

Requests for font files with the woff2 extension currently result in a 403 Forbidden response, and the font wouldn't be used if referenced in the CSS (unless available in another file format). The 403s are visible in browser DevTools, and in the Nginx access logs. An example of this issue can be seen on the AtoM Demo site.

This request is to add woff2 to the list of file extensions in the sample config.