Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updates h5bp/server-configs-nginx to 94b3680 #355

Merged
merged 1 commit into from
Sep 16, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion roles/nginx/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
- name: Grab h5bp/server-configs-nginx
git: repo="https://github.com/h5bp/server-configs-nginx.git"
dest=/etc/nginx/h5bp-server-configs
version=b674df55453988a837e94dc1f71c9a35e8d77528
version=94b3680c9d13f108d6d62c22cba251b84f795aa8
force=yes

- name: Move h5bp configs
Expand Down
13 changes: 11 additions & 2 deletions roles/nginx/templates/nginx.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ http {
default_type application/octet-stream;

# Update charset_types due to updated mime.types
charset_types text/xml text/plain text/vnd.wap.wml application/x-javascript application/rss+xml text/css application/javascript application/json;
charset_types text/css text/plain text/vnd.wap.wml application/javascript application/json application/rss+xml application/xml;

# Format to use in log files
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
Expand Down Expand Up @@ -105,18 +105,27 @@ http {
application/atom+xml
application/javascript
application/json
application/ld+json
application/manifest+json
application/rss+xml
application/vnd.geo+json
application/vnd.ms-fontobject
application/x-font-ttf
application/x-web-app-manifest+json
application/xhtml+xml
application/xml
font/opentype
image/bmp
image/svg+xml
image/x-icon
text/cache-manifest
text/css
text/plain
text/x-component;
text/vcard
text/vnd.rim.location.xloc
text/vtt
text/x-component
text/x-cross-domain-policy;
# text/html is always compressed by HttpGzipModule

# This should be turned on if you are going to have pre-compressed copies (.gz) of
Expand Down