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

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

Open
Jimadine opened this issue May 22, 2024 · 0 comments · May be fixed by #295
Open

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

Jimadine opened this issue May 22, 2024 · 0 comments · May be fixed by #295
Assignees

Comments

@Jimadine
Copy link
Contributor

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.

@anvit anvit self-assigned this Jul 15, 2024
anvit added a commit that referenced this issue Jul 16, 2024
Add woff2 and otf file extensions to the sample nginx config in the
ubuntu installation section of the docs since these are common web font
formats.
@anvit anvit linked a pull request Jul 16, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants