Redirect to hostname

11 views
Skip to first unread message

Linus Weber

unread,
Oct 7, 2020, 12:48:08 PM10/7/20
to SEEK Developers

Hello everyone,

we're running SEEK with docker-compose in a separate network segment (DMZ) on a machine with hostname (and address) `address-A`. From outside this DMZ this machine is accessible only via `address-B`. However, when a user (from outside the DMZ via address-B) clicks on forms like `Create Profile` or `Change profile picture` they are redirected to address-A. At the same time, you can browse publications, institutions, people, for example, or click on the login page. But as soon as you click to login button, you are redirected to address-A.

I've already tried to set the host- and domainname in docker-compose.yml
 to address-B. Fyi, we also have an nginx reverse-proxy that routes requests from outside the DMZ to the SEEK application server and we've already double-checked its configuration. I have also set the `Site base URL` to address-B in the admin settings.

Kind regards
Linus

Finn Bacall

unread,
Oct 8, 2020, 10:00:02 AM10/8/20
to Linus Weber, SEEK Developers

Hi Linus,

You mentioned you checked your reverse proxy config...

Did you definitely include something like:

    proxy_set_header Host `address-B`;

?

Finn

--
You received this message because you are subscribed to the Google Groups "SEEK Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to seek-develope...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/seek-developers/a3fe4497-c7f8-482d-a147-42a1621eb3fcn%40googlegroups.com.

Linus Weber

unread,
Oct 9, 2020, 9:03:10 AM10/9/20
to SEEK Developers
Hi Finn,

somehow this slipped under our radar. Thank you!

Linus
Reply all
Reply to author
Forward
0 new messages