# Reverse-proxy/rewrite for Perspective with Nginx, stuck on "Authenticating..."

**URL:** <https://forum.inductiveautomation.com/t/reverse-proxy-rewrite-for-perspective-with-nginx-stuck-on-authenticating/31716>\
**Category:** Ignition Early Access\
**Tags:** perspective\
**Created:** [January 29, 2020, 2:54pm UTC](https://forum.inductiveautomation.com/t/reverse-proxy-rewrite-for-perspective-with-nginx-stuck-on-authenticating/31716 "2020-01-29T14:54:37Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![md.szyman](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/md.szyman/32/9240_2.png) [@md.szyman](https://forum.inductiveautomation.com/u/md.szyman)\
**Post date:** [January 29, 2020, 5:30pm UTC](https://forum.inductiveautomation.com/t/reverse-proxy-rewrite-for-perspective-with-nginx-stuck-on-authenticating/31716/6 "2020-01-29T17:30:13Z")

</div>

Okay! That seemed to fix it! Thank you so much for the help.

I’ve decided to change my plan a bit from rewriting to just permanent redirecting, so here’s the final relevant section of my nginx config if anyone else runs into this:

```auto
location / {
    proxy_pass http://site.com:8088;
    proxy_http_version 1.1;
    proxy_set_header Upgrade $http_upgrade;
    proxy_set_header Connection "upgrade";
    rewrite ^/dashboards$ /data/perspective/client/DashboardProject permanent;
}	

```

---

_[View the full topic](https://forum.inductiveautomation.com/t/reverse-proxy-rewrite-for-perspective-with-nginx-stuck-on-authenticating/31716)._
