LayerManager / layman

Publishing geospatial vector data online
GNU General Public License v3.0
10 stars 3 forks source link

GET Map File request through LTC proxy returns URLs with `http` although request came to `https` #958

Closed jirik closed 10 months ago

jirik commented 10 months ago

The behavior is probably similar in case of other requests to Layman REST API through LTC proxy with https protocol.

It is probably because nginx changes HTTP protocol from https to http. Solution could be to add

proxy_set_header X-Forwarded-Proto $scheme;

to LTC-related part of nginx file