Skip to content

Update nginx.conf.j2 #860

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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Update nginx.conf.j2 #860

wants to merge 1 commit into from

Conversation

tieniber
Copy link
Member

A customer noted that the sqlite wasm file used for PWAs is not gzipped.

Add application/wasm to gzip_types in nginx.conf.j2

A customer noted that the sqlite wasm file used for PWAs is not gzipped.

Add application/wasm to gzip_types in nginx.conf.j2
@Robinfr
Copy link
Contributor

Robinfr commented Mar 17, 2025

@tieniber This also requires changes to the mime types: https://github.com/mendix/cf-mendix-buildpack/blob/master/etc/nginx/conf/mime.types since the .wasm file is not registered there.

It would also be good to register the .mjs file under the mime-types since that accompanies the .wasm file, and by registering that, it would also automatically get gzipped.

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 this pull request may close these issues.

2 participants