kopia lustrzana https://github.com/piku/piku
reinstate gzip_disable
rodzic
f689992e50
commit
56d4e8bd91
|
@ -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
|
||||
|
|
1
piku.py
1
piku.py
|
@ -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;
|
||||
|
|
Ładowanie…
Reference in New Issue