]> git.openstreetmap.org Git - chef.git/commitdiff
imagery: only allow titiler access from localhost
authorGrant Slater <github@firefishy.com>
Thu, 27 Jun 2024 16:11:32 +0000 (17:11 +0100)
committerGrant Slater <github@firefishy.com>
Thu, 27 Jun 2024 16:11:32 +0000 (17:11 +0100)
cookbooks/imagery/templates/default/nginx_titiler.conf.erb

index 20ed10bc1fbd1e8e6934212e4728377d0e4d0749..77e13b20c8c26f45c110f62934e07119353fe5b1 100644 (file)
@@ -55,5 +55,8 @@ server {
       proxy_http_version 1.1;
       proxy_set_header Connection "";
       proxy_redirect off;
+
+      allow 127.0.0.1;
+      deny all;
     }
 }