Server invalid URL

Dear Supporters,

I have the error described in the post “Invalid URL” after Login

Unfortunately, I can't reply to it since it's closed. I have the same error and modified the APP_URL to fit my needs.

I'm running NGINX Proxy Manager, and I'm not an expert in ProxyServer.

Does anyone know how to put in the lines marked in the solution-reply into nginx Reverse Proxy Webpage?

    # Simple requests
    if ($request_method ~* "(GET|POST)") {
      add_header "Access-Control-Allow-Origin"  *;
    }

    # Preflighted requests
    if ($request_method = OPTIONS ) {
      add_header "Access-Control-Allow-Origin"  *;
      add_header "Access-Control-Allow-Methods" "GET, POST, OPTIONS, HEAD";
      add_header "Access-Control-Allow-Headers" "Authorization, Origin, X-Requested-With, Content-Type, Accept";
      return 200;
    }

I already created a custom location and pasted in the code

but it doesn´t work :confused:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.