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

OSGeo trac_osgeo at osgeo.org
Sun Mar 22 10:53:02 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  |  Resolution:
 Keywords:                 |
---------------------------+---------------------------------------

Comment (by robe):

 For reference -- I changed the /etc/nginx/mime-types on the osgeo7 nginx
 proxy container.

 https://git.osgeo.org/gitea/sac/osgeo7/commit/99b374426f135f5371ad25fe8ba0d169da35680b


 {{{
 diff --git a/etc/nginx/mime.types b/etc/nginx/mime.types
 index 89be9a4..d4c9c4b 100644
 --- a/etc/nginx/mime.types
 +++ b/etc/nginx/mime.types
 @@ -25,6 +25,9 @@ types {
      image/webp                            webp;

      application/font-woff                 woff;
 +    application/font-woff2                woff2;
 +    application/x-font-ttf                ttc ttf;
 +    application/x-font-otf                otf;
      application/java-archive              jar war ear;
      application/json                      json;
      application/mac-binhex40              hqx;
 }}}


 The other ones were already in there.  before the change there was no
 Access-Control-Allow-Origin: line showing in the head call.  This as a
 result will take effect for all proxied sites which I think is desirable.

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


More information about the Sac mailing list