Skip to content

http / https mixed content #234

@KoalaGeo

Description

@KoalaGeo

Please see https://ogcapi.bgs.ac.uk/tipg/collections/published.gb_625k_bedrock_fault_geology_dykes_wgs84/tiles/WebMercatorQuad/viewer

I believe the tiles aren't drawing as the map is requesting the data from the http url not the https, so is being blocked as mixed content. (it works fine on out internal deployment where everything is http)

This is resolved in application like pg_featureserv using a URLBASE variable with the full path defined. Or is there another way...

PGFS_SERVER_URLBASE: ${PROTOCOL}://${APP_HOSTNAME}/tipg

image: ghcr.io/developmentseed/tipg:1.2.1
config:

---
apiVersion: v1
kind: ConfigMap
metadata:
  name: tipg-config
  labels:
    app: ${KUBE_NAMESPACE}
data:
  DATABASE_URL: ${DATABASE_URL}
  TIPG_ROOT_PATH: /tipg
  TIPG_NAME: BGS TESTING TiPg Instance - NOT FOR PRODUCTION USE
  TIPG_DB_SCHEMAS: '["published", "public"]'
  TIPG_DB_EXCLUDE_FUNCTION_SCHEMAS: '["public"]'
  TIPG_CACHECONTROL: 'public, max-age=3600'
  CATALOG_TTL: '3600'  

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions