Support IPv6 and CORS for font hosting

pull/311/head
raucao 2 years ago
parent a96d29c716
commit 5559ca41a7
Signed by: raucao
GPG Key ID: 9F88009D31D99C72
  1. 3
      site-cookbooks/kosmos_assets/templates/nginx_conf_assets.erb

@ -3,6 +3,7 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name <%= @domain %>;
root /var/www/<%= @domain %>/site;
@ -11,6 +12,8 @@ server {
gzip_static on;
gzip_comp_level 5;
add_header 'Access-Control-Allow-Origin' '*';
location ~* .(css)$ {
expires 1d;
}

Loading…
Cancel
Save