Skip to content
Projects
Groups
Snippets
Help
Sign in / Register
Toggle navigation
Minds
Project overview
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Issues
119
Merge Requests
14
CI / CD
Security & Compliance
Packages
Analytics
Wiki
Members
Collapse sidebar
Close sidebar
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Minds
Minds
Commits
8fee9de8
Commit
8fee9de8
authored
2 hours ago
by
Emiliano Balbuena
Browse files
Options
Download
(fix): Fonts should be handled by nginx
parent
e210fe30
goal/local-infra
1 merge request
!173
WIP: Local infrastructure provisioner
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
containers/nginx/dev-ssr.conf
View file @
8fee9de8
...
...
@@ -54,7 +54,7 @@ server {
log_not_found
off
;
}
location
~* \.(
.
woff
|.
woff2
|.
ttf
) {
location
~* \.(
woff
|
woff2
|
ttf
|
eot
) {
add_header
'Access-Control-Allow-Origin'
*;
}
...
...
@@ -106,7 +106,7 @@ server {
fastcgi_param
PATH_INFO
$
fastcgi_path_info
;
}
location
~* \.(
jpg
|
jpeg
|
gif
|
png
|
css
|
js
|
ico
|
xml
)$ {
location
~* \.(
jpg
|
jpeg
|
gif
|
png
|
css
|
js
|
ico
|
xml
|
woff
|
woff2
|
ttf
|
eot
|
svg
)$ {
expires
5
d
;
}
...
...
This diff is collapsed.
Please
register
or
sign in
to comment