Support IPv6 and CORS for font hosting

This commit is contained in:
Basti 2021-02-25 17:38:11 +01:00
parent a96d29c716
commit 5559ca41a7
Signed by untrusted user: basti
GPG Key ID: 9F88009D31D99C72
1 changed files with 3 additions and 0 deletions

View File

@ -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;
}