loris-imageserver / loris

Loris IIIF Image Server
Other
208 stars 87 forks source link

loris behind proxy #540

Closed ambs closed 3 years ago

ambs commented 3 years ago

I know that supposedly webapp is not to be used in production. But at the moment, that's what I'm doing :-) Is there any configuration available on it to set up proxy_fix: https://werkzeug.palletsprojects.com/en/2.0.x/middleware/proxy_fix/ ? I have it behind traefik, but it is creating http links, instead of https links.

Ideas are welcome.

bcail commented 3 years ago

https://github.com/loris-imageserver/loris/blob/development/doc/configuration.md#lorisloris Try setting proxy_path in your config to something starting with https, and see if that works.

ambs commented 3 years ago

Yes, it works. Perfect. Thanks