[SAC] [OSGeo] #2427: issue with fonts showing on staging.grass.osgeo.org, allow origin update

OSGeo trac_osgeo at osgeo.org
Sun Mar 22 05:58:31 PDT 2020


#2427: issue with fonts showing on staging.grass.osgeo.org, allow origin update
---------------------------+--------------------------------------
 Reporter:  robe           |      Owner:  sac@…
     Type:  task           |     Status:  new
 Priority:  normal         |  Milestone:  Sysadmin Contract 2020-I
Component:  Systems Admin  |   Keywords:
---------------------------+--------------------------------------
 This is confirmed by (no Access-Control-Allow-Origin: *: in the response)

 curl -I https://staging.grass.osgeo.org/plugins/fontawesome/fonts
 /fontawesome-webfont.ttf?v=4.7.0

 @neteler I suggest to edit the nginx config as follow, in order to get rid
 of those errors

 if ($filename ~* ^.*?\.(eot)|(ttf)|(woff)|(woff2) $){

 add_header Access-Control-Allow-Origin *;

 }

-- 
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2427>
OSGeo <https://osgeo.org/>
OSGeo committee and general foundation issue tracker.


More information about the Sac mailing list