Nginx proxy [Jun 12]

:raising_hand_man: NoobieDev replied

FYI the last 2 Get is me trying using Curl

:man_technologist: pranavxc replied

Can you try the following configuration

```location /nocodb/ {

proxy_set_header Host $host;

proxy_set_header X-Forwarded-Host $host:$server_port;

proxy_set_header X-Forwarded-Proto https;

proxy_set_header X-Real-IP $remote_addr;

proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

proxy_pass http://localhost:8086/;

chunked_transfer_encoding off;

proxy_buffering off;

proxy_cache off; }

}

```

:man_technologist: pranavxc replied

or

```location ~/nocodb(.*)$ {

proxy_set_header Host $host;

proxy_set_header X-Forwarded-Host $host:$server_port;

proxy_set_header X-Forwarded-Proto https;

proxy_set_header X-Real-IP $remote_addr;

proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

proxy_pass http://localhost:8086$1;

chunked_transfer_encoding off;

proxy_buffering off;

proxy_cache off; }

}

```

:raising_hand_man: NoobieDev replied

Didnt try this yet , but as a workaround i created another subdomain and put the nocodb in another server block. That is working fine .

Autogenerated from discord


Join NocoDB’s community

DiscordTwitterRedditDocs