geoadmin / service-tileservergl

1 stars 0 forks source link

Provide the current protocol to tileserver #38

Open oterral opened 6 years ago

oterral commented 6 years ago

Tileset.json file should contans https link: https://tileserver.dev.bgdi.ch/data/DKM10_GEWAESSER_LIN.json

The line commented in nginx conf here leads to mixed content error in service-maputnik:

Mixed Content: The page at 'https://tileserver.dev.bgdi.ch/editor/#8.6/46.5354/7.2943/0/6' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint 'http://tileserver.dev.bgdi.ch/data/DKM10_GEWAESSER_LIN/4/8/5.pbf'. This request has been blocked; the content must be served over HTTPS

danduk82 commented 6 years ago

mmh, X-Forwarded-Proto should be set by the ELB. I will dig this further