server { listen [::]:80; listen 80; server_name www.server.localhost; return 301 $scheme://server.localhost$request_uri; } server { listen [::]:80; listen 80; server_name server.localhost; root /var/www/server.localhost; include h5bp/basic.conf; gzip_min_length 1; include h5bp/security/content-security-policy.conf; include h5bp/security/permissions-policy.conf; include h5bp/security/cross-origin-policy.conf; include h5bp/web_performance/cache-control.conf; include h5bp/location/web_performance_filename-based_cache_busting.conf; include h5bp/location/web_performance_svgz-compression.conf; include h5bp/errors/custom_errors.conf; location ~* /test-pre-gzip { include h5bp/web_performance/pre-compressed_content_gzip.conf; } }