[PostGIS] #5618: Images not showing

PostGIS trac at osgeo.org
Fri Nov 24 23:59:12 PST 2023


#5618: Images not showing
----------------------------+---------------------------
  Reporter:  robe           |      Owner:  robe
      Type:  defect         |     Status:  closed
  Priority:  blocker        |  Milestone:  PostGIS 3.5.0
 Component:  documentation  |    Version:  master
Resolution:  fixed          |   Keywords:
----------------------------+---------------------------
Changes (by robe):

 * status:  new => closed
 * resolution:   => fixed

Comment:

 Okay was nginx rule forcing all images to match to the 3.4 images.

 To fix had to change in /etc/nginx/sites-available/postgis.net.conf


 {{{
         # rewrite docs links and css, this is because manual
         # /docs images look up one so expect to see docs at the root
         rewrite /images/(.*) /docs/images/$1;
         rewrite /style.css /docs/style.css;

 }}}

 to


 {{{
         # rewrite docs links and css, this is because manual
         # /docs images look up one so expect to see docs at the root
         rewrite ^/images/(.*) /docs/images/$1;
         rewrite ^/style.css /docs/style.css;

 }}}


 I didn't notice until we had new images that everything was looking in
 manual-3.4/images because all prior images are subset of those except for
 3.5 with these new images.

 I did a quick spot check of 3.1 and 3.5 and manual-dev and images all seem
 to show up okay
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5618#comment:3>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list