build(aio): serve gzipped content from the preview server

Fixes #16699
This commit is contained in:
Georgios Kalpakas
2017-05-11 00:22:16 +03:00
committed by Pete Bacon Darwin
parent 67dc970ce4
commit c757e5794f
4 changed files with 7 additions and 6 deletions
@@ -27,6 +27,10 @@ server {
disable_symlinks on from=$document_root;
index index.html;
gzip on;
gzip_comp_level 7;
gzip_types *;
access_log {{$AIO_NGINX_LOGS_DIR}}/access.log;
error_log {{$AIO_NGINX_LOGS_DIR}}/error.log;