Skip to content
Snippets Groups Projects
Commit c76d1f75 authored by Ismael Posada Trobo's avatar Ismael Posada Trobo
Browse files

FEATURE: Optimize images before upload...

parent 50939f53
No related branches found
No related tags found
No related merge requests found
# Additional MIME types that you'd like nginx to handle go in here # Additional MIME types that you'd like nginx to handle go in here
types { types {
text/csv csv; text/csv csv;
application/wasm wasm;
} }
upstream discourse { upstream discourse {
...@@ -35,7 +36,7 @@ server { ...@@ -35,7 +36,7 @@ server {
gzip_vary on; gzip_vary on;
gzip_min_length 1000; gzip_min_length 1000;
gzip_comp_level 5; gzip_comp_level 5;
gzip_types application/json text/css text/javascript application/x-javascript application/javascript image/svg+xml; gzip_types application/json text/css text/javascript application/x-javascript application/javascript image/svg+xml application/wasm;
gzip_proxied any; gzip_proxied any;
sendfile on; sendfile on;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment