Commit c76d1f75 authored by Ismael Posada Trobo's avatar Ismael Posada Trobo
Browse files

FEATURE: Optimize images before upload...

FEATURE: Optimize images before upload (https://github.com/discourse/discourse/commit/fa4a4625179bb1fb213328bb2c196bd41d24f804)
parent 50939f53
# 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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment