Search found 3 matches

by walnuss0815
Sat Apr 03, 2021 8:37 am
Forum: API
Topic: Wrong next URL scheme
Replies: 5
Views: 554

Re: Wrong next URL scheme

It still does not work. I ve checked my proxy config and Mayan EDMS config twice. The NGINX proxy config looks like this: ... location / { proxy_pass http://app:8000; proxy_set_header Host $host; proxy_redirect http:// https://; proxy_http_version 1.1; proxy_set_header X-Forwarded-For $proxy_add_x_f...
by walnuss0815
Wed Mar 31, 2021 3:26 pm
Forum: API
Topic: Wrong next URL scheme
Replies: 5
Views: 554

Re: Wrong next URL scheme

The SECURE_PROXY_SSL_HEADER looks promising. :) I tested it in my setup and it did not work. :( The Django settings page now shows the following: SECURE_PROXY_SSL_HEADER ('HTTP_X_FORWARDED_PROTO', 'https') I also configured the NGINX proxy to set the HTTP_X_FORWARDED_PROTO header like this: proxy_se...
by walnuss0815
Tue Dec 15, 2020 8:01 pm
Forum: API
Topic: Wrong next URL scheme
Replies: 5
Views: 554

Wrong next URL scheme

Hello, I am using Mayan EDMS in Docker behind a NGINX proxy and access it using https. When I am using the API to get the documents the APi returns a "next" URL starting with http. So the result looks like this: GET https://edms.example.com/api/documents/ { "count": 512, "next": "http://edms.example...