diff --git a/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/assets.conf b/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/assets.conf index 3acbe99..8ba86f9 100644 --- a/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/assets.conf +++ b/roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/assets.conf @@ -1,35 +1,35 @@ # ------------------------------------------------------------- # Webserver # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - # Project: Nasqueron # Site: assets.nasqueron.org # License: Trivial work, not eligible to copyright # Source file: roles/webserver-legacy/nginx/files/vhosts/nasqueron.org/assets.conf # ------------------------------------------------------------- # # # This file is managed by our rOPS SaltStack repository. # # Changes to this file may cause incorrect behavior # and will be lost if the state is redeployed. # server { listen 80; listen [::]:80; server_name assets.nasqueron.org; include includes/tls; ssl_certificate /usr/local/etc/letsencrypt/live/assets.nasqueron.org/fullchain.pem; ssl_certificate_key /usr/local/etc/letsencrypt/live/assets.nasqueron.org/privkey.pem; include includes/letsencrypt; root /var/wwwroot/nasqueron.org/assets; index index.html index.php index.htm; - location ~* \.(eot|otf|ttf|woff|woff2)$ { + location ~* \.(eot|otf|ttf|woff|woff2|css)$ { add_header Access-Control-Allow-Origin *; } }