nginx Basis-Setup
This commit is contained in:
parent
bc297acd18
commit
3c917ce4b2
8 changed files with 117 additions and 69 deletions
18
roles/web-server/base/files/etc/nginx/conf.d/gzip.conf
Normal file
18
roles/web-server/base/files/etc/nginx/conf.d/gzip.conf
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#
|
||||
# ACTHUNG:
|
||||
#
|
||||
# Wird via Ansible konfiguriert. Bitte nicht manuell ändern!
|
||||
#
|
||||
|
||||
# Gzip settings
|
||||
|
||||
gzip on;
|
||||
gzip_disable "msie6";
|
||||
gzip_static on;
|
||||
gzip_vary on;
|
||||
gzip_proxied any;
|
||||
gzip_comp_level 9;
|
||||
gzip_buffers 256 8k;
|
||||
gzip_http_version 1.1;
|
||||
gzip_min_length 0;
|
||||
gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javascript;
|
||||
Loading…
Add table
Add a link
Reference in a new issue