# NginX reverse proxy settings

**URL:** <https://devforum.okta.com/t/nginx-reverse-proxy-settings/25329>\
**Category:** Questions\
**Created:** [September 17, 2023, 7:27pm UTC](https://devforum.okta.com/t/nginx-reverse-proxy-settings/25329 "2023-09-17T19:27:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Amphagory](https://avatars.discourse-cdn.com/v4/letter/a/e79b87/32.png) [@Amphagory](https://devforum.okta.com/u/Amphagory)\
**Post date:** [September 17, 2023, 7:27pm UTC](https://devforum.okta.com/t/nginx-reverse-proxy-settings/25329/1 "2023-09-17T19:27:35Z")

</div>

I have a real simple Nginx set up to mask where I’m sending the user as follows:

```
server {
    listen 80;
    server_name my.website.ca;  

    location / {
        proxy_set_header X-Real-IP $remote_addr;
        proxy_pass https://another.website.com;
}

```

I set up SAML using Okta on [https://another.website.com](https://another.website.com), but unsure what I need to add in my configuration such that the SAML information is pass properly to the [https://another.website.com](https://another.website.com) as the Auth break for me.

thanks for any help!

Mike

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [February 16, 2024, 12:46am UTC](https://devforum.okta.com/t/nginx-reverse-proxy-settings/25329/2 "2024-02-16T00:46:05Z")

</div>

Closed on February 16, 2024, 12:46am UTC


