Skip to content

Commit

Permalink
GITC-4838 Added Access-Control-Allow-Origin for ancillary metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
jtroberts committed Sep 6, 2023
1 parent aad3c86 commit b64c48a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docker/tile_services/oe2_ancillary.conf
Original file line number Diff line number Diff line change
@@ -1,24 +1,29 @@
<Directory /var/www/html/colormaps>
Header set Access-Control-Allow-Origin "*"
Header Always Set Cache-Control "public, max-age=3600"
Options -Indexes
</Directory>

<Directory /var/www/html/layer-metadata>
Header set Access-Control-Allow-Origin "*"
Header Always Set Cache-Control "public, max-age=3600"
Options -Indexes
</Directory>

<Directory /var/www/html/legends>
Header set Access-Control-Allow-Origin "*"
Header Always Set Cache-Control "public, max-age=3600"
Options -Indexes
</Directory>

<Directory /var/www/html/vector-metadata>
Header set Access-Control-Allow-Origin "*"
Header Always Set Cache-Control "public, max-age=3600"
Options -Indexes
</Directory>

<Directory /var/www/html/vector-styles>
Header set Access-Control-Allow-Origin "*"
Header Always Set Cache-Control "public, max-age=3600"
Options -Indexes
</Directory>

0 comments on commit b64c48a

Please sign in to comment.