DEV Community

Chris Richmond
Chris Richmond

Posted on

NGINX Security

Problem: Your blazor apps not running right and you have it behind a reverse proxy.
Solution: Add values to NGINX

proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
Enter fullscreen mode Exit fullscreen mode

Edit: Still having some issues, but this seems to be part of the solution.

Top comments (0)