Update Simplified_Deployment authored by Jacob Benz's avatar Jacob Benz
...@@ -59,13 +59,13 @@ A sample configuration file for a nginx-based reverse proxy can be found in the ...@@ -59,13 +59,13 @@ A sample configuration file for a nginx-based reverse proxy can be found in the
Independently of the actual server you are using, the following options have to be set: Independently of the actual server you are using, the following options have to be set:
- Upstream source: `http://localhost:5000` - Upstream source: `http://localhost:5000`
- Headers to be set by the proxy server: <del>- Headers to be set by the proxy server:
- `Host`: Variable pointing to the hostname of the proxy server, e.g. `$host` - `Host`: Variable pointing to the hostname of the proxy server, e.g. `$host`
- `X-Real-IP`: Variable pointing to the IP address of the client, e.g. `$remote_addr` - `X-Real-IP`: Variable pointing to the IP address of the client, e.g. `$remote_addr`
- `X-Forwarded-For`: Variable pointing to the X-Forwarded-For header expanded by the IP address of the client, e.g. `$proxy_add_x_forwarded_for` - `X-Forwarded-For`: Variable pointing to the X-Forwarded-For header expanded by the IP address of the client, e.g. `$proxy_add_x_forwarded_for`
- `X-Forwarded-Host`: Variable pointing to the hostname of the proxy server, e.g. `$host` - `X-Forwarded-Host`: Variable pointing to the hostname of the proxy server, e.g. `$host`
- `X-Forwarded-Server`: Variable pointing to the hostname of the proxy server, e.g. `$host` - `X-Forwarded-Server`: Variable pointing to the hostname of the proxy server, e.g. `$host`
- `X-Forwarded-Port`: Variable pointing to the port of the proxy server, e.g. `$server_port` - `X-Forwarded-Port`: Variable pointing to the port of the proxy server, e.g. `$server_port`
- `X-Forwarded-Proto`: `https` - `X-Forwarded-Proto`: `https`</del>
You are advised to also check the file `leafwriter.conf` in the directory `leafwriter-configuration-files/nginx-sample-conf` to compare with your configuration. You are advised to also check the file `leafwriter.conf` in the directory `leafwriter-configuration-files/nginx-sample-conf` to compare with your configuration.
\ No newline at end of file