How to set X-Forwarded-For with nginx plugin?

Started by baz, January 13, 2023, 06:22:50 AM

Previous topic - Next topic
I am trying to integrate seafile, and one of the config requirements under `server` is to set `X-Forwarded-For` like so:

```
server {
    proxy_set_header X-Forwarded-For $remote_addr;
}
```

When I check the config generated by the ngnix plugin here at `/usr/local/etc/nginx/nginx.conf`I am unable to find the setting under `server` and I am unsure where in the GUI to find it.

Any ideas?