Support IPv6 and CORS for font hosting
This commit is contained in:
		
							parent
							
								
									a96d29c716
								
							
						
					
					
						commit
						5559ca41a7
					
				@ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user