dina-web-nrm / media-docker

Dockerized mediaserver
GNU Affero General Public License v3.0
0 stars 2 forks source link

http does not re-route automatically to https .... #6

Open IcingInk opened 7 years ago

IcingInk commented 7 years ago

see the script in /self-test

This works post-large-https: big.b64 @curl -H "Accept: application/json" \ -H "Content-type: application/json" -X POST \ -d @big.b64 https://${HOST}/MediaServerResteasy/media | json_pp

IcingInk commented 7 years ago

with local nginx: different behavior: post with curl and get with browser browser get , reroutes to https : get http://api.nrm.se/MediaServerResteasy/media/v1/bcad48f1-30d0-4590-aa55-f084c4efacc2?format=image/png