server { listen 80; listen [::]:80; server_name www. ; return 301 https://$request_uri; } server { listen 443 ssl http2; listen [::]:443 ssl http2; ssl_certificate /etc/letsencrypt/live/www./fullchain.pem; ssl_certificate_key /etc/letsencrypt/live/www./privkey.pem; include snippets/ssl-params.conf; include /etc/nginx/snippets/secure-headers.conf; server_name www.; return 301 https://$request_uri; } server { listen 443 ssl http2; listen [::]:443 ssl http2; ssl_certificate /etc/letsencrypt/live//fullchain.pem; ssl_certificate_key /etc/letsencrypt/live//privkey.pem; add_header Content-Security-Policy " default-src 'self'; font-src 'self'; style-src 'self'; img-src 'self'; base-uri 'self'; form-action 'self'; frame-ancestors 'self'; "; make('partials.default', ['domain' => $domain], \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?> yieldContent('server'); ?> }