Page MenuHomeDevCentral

assets.conf
No OneTemporary

assets.conf

# -------------------------------------------------------------
# Webserver
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# Site: assets.nasqueron.org
# License: Trivial work, not eligible to copyright
# Source file: roles/webserver-alkane/nginx/files/vhosts/nasqueron.org/assets.conf
# -------------------------------------------------------------
#
# <auto-generated>
# 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.
# </auto-generated>
# -------------------------------------------------------------
# Fonts by user-agent
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
map $http_user_agent $font_extension {
~Mozilla with-woff2;
default with-ttf;
}
# -------------------------------------------------------------
# assets.nasqueron.org
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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 / {
location ~* \.(eot|otf|ttf|woff|woff2|css|js|json)$ {
add_header Access-Control-Allow-Origin *;
}
}
location /webfonts/css {
default_type text/css;
add_header Access-Control-Allow-Origin *;
add_header Assets-Font-Format $font_extension always;
try_files $uri $uri.$font_extension $uri/ =404;
}
}

File Metadata

Mime Type
text/plain
Expires
Mon, Jun 8, 08:02 (1 d, 12 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3763743
Default Alt Text
assets.conf (1 KB)

Event Timeline