docker-freescout icon indicating copy to clipboard operation
docker-freescout copied to clipboard

Redirecting to login

Open cflev opened this issue 5 years ago • 6 comments

Hi all,

I am trying to start the freescout for the first time and when I type the APP_URL on browser I get too many redirections.

I tried to curl direct from inside of freescout-app (exec bash) and I get the same redirection:

bash-5.0# curl localhost/login
<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8" />
        <meta http-equiv="refresh" content="0;url=https://freescout.mydomain.com/login" />

        <title>Redirecting to https://freescout.mydomain.com/login</title>
    </head>
    <body>
        Redirecting to <a href="https://freescout.mydomain.com/login">https://freescout.mydomain.com/login</a>.
    </body>
</html>bash-5.0#

on nginx logs:

- - - [18/Nov/2020:04:51:01 +0200]  "GET /login HTTP/1.1" 302 280 "-" "curl/7.69.1"
- - - [18/Nov/2020:05:08:39 +0200]  "GET / HTTP/1.1" 302 420 "-" "curl/7.68.0"
- - - [18/Nov/2020:05:08:43 +0200]  "GET /login HTTP/1.1" 302 420 "-" "curl/7.68.0"
- - - [18/Nov/2020:05:29:12 +0200]  "GET / HTTP/1.1" 302 420 "-" "curl/7.68.0"
- - - [18/Nov/2020:05:29:56 +0200]  "GET / HTTP/1.1" 302 420 "-" "curl/7.69.1"
- - - [18/Nov/2020:05:39:19 +0200]  "GET / HTTP/1.1" 302 420 "-" "curl/7.68.0"
- - - [18/Nov/2020:05:40:14 +0200]  "GET /login HTTP/1.1" 302 420 "-" "curl/7.69.1"```

any ideas?

Thanks!

cflev avatar Nov 18 '20 03:11 cflev

I also tried to expose the port 80 in order to use a valid (letsencrypt) SSL (https://freescout.mydomain.com/login) through an external nginx

(external-nginx:443) --proxy---> (docker-host:80) ----exposed-port---> (freescout-app:80)

cflev avatar Nov 18 '20 03:11 cflev

The same problem.

SimWhite avatar Aug 06 '21 18:08 SimWhite

I'm having the same issue

Edit: It also happens on the standalone image.

thelecter avatar Nov 19 '21 23:11 thelecter

bruh this is fucked lmao

Sloth-on-meth avatar Feb 01 '22 10:02 Sloth-on-meth

Any news on this? Got the same after deployment docker behind apache reverse proxy.

dskachan avatar Feb 24 '22 10:02 dskachan