reinstate gzip_disable

pull/143/head
Rui Carmo 2019-11-20 19:41:04 +00:00
rodzic f689992e50
commit 56d4e8bd91
2 zmienionych plików z 2 dodań i 1 usunięć

Wyświetl plik

@ -28,4 +28,4 @@ jobs:
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
# --exit-zero treats all errors as warnings
# allow longer lines for inlining SSH entries and set a complexity threshold that will pass for now
flake8 . --count --max-complexity=60 --max-line-length=255 --statistics
flake8 . --ignore=W605 --count --max-complexity=60 --max-line-length=255 --statistics

Wyświetl plik

@ -119,6 +119,7 @@ NGINX_COMMON_FRAGMENT = """
gzip_comp_level 7;
gzip_min_length 2048;
gzip_vary on;
gzip_disable "MSIE [1-6]\.(?!.*SV1)";
# set a custom header for requests
add_header X-Deployed-By Piku;