improvement(docker): gzip static files (via #5199)

This commit is contained in:
Yann Odeyer
2019-03-02 06:06:40 +01:00
committed by kyle
parent 7025773fbf
commit dd961ed401
2 changed files with 9 additions and 0 deletions

View File

@@ -12,6 +12,13 @@ http {
keepalive_timeout 65;
gzip on;
gzip_static on;
gzip_disable "msie6";
gzip_vary on;
gzip_types text/plain text/css application/javascript;
map $request_method $access_control_max_age {
OPTIONS 1728000; # 20 days
}