FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login
    1. Home
    2. maburns
    3. Best
    M
    • Profile
    • Following 0
    • Followers 0
    • Topics 0
    • Posts 2
    • Best 1
    • Controversial 0
    • Groups 0

    Best posts made by maburns

    • RE: Error 403 with Nginx in front

      Think I'm hitting the same issue with 1.41.3

      Login page loads and if I enter valid credentials it appears to login but redirects to a blank page with the path /oauth2/authorize. At a glance, it appears that headers are not being passed correctly.

      We are using a comparatively simple setup: Fusionauth + Nginx in a single docker image. Our nginx config:

      server {
          listen 8443 ssl;
          listen [::]:8443 ssl;
          server_name _;
      
          ssl_certificate /etc/ssl/certs/nginx.crt;
          ssl_certificate_key /etc/ssl/private/nginx.key;
      
          access_log            /var/log/nginx/access.log;
      
          proxy_set_header        X-Forwarded-Proto https;
          proxy_set_header        X-Forwarded-Port 8443;
          proxy_set_header        X-Forwarded-Host $host;
          proxy_set_header        X-Forwarded-For $proxy_add_x_forwarded_for;
          proxy_set_header        X-Forwarded-Server $host;
          proxy_set_header        X-Real-IP $remote_addr;
          proxy_set_header        Accept-Encoding "";
      
          location / {
              proxy_http_version 1.1;
              proxy_pass http://127.0.0.1:9011/;
          }
      }
      
      posted in Q&A
      M
      maburns