Update Simplified_Deployment authored by Jacob Benz's avatar Jacob Benz
...@@ -43,12 +43,12 @@ A sample configuration file for a nginx-based reverse proxy can be found in the ...@@ -43,12 +43,12 @@ A sample configuration file for a nginx-based reverse proxy can be found in the
Independently of the actual server you are using, he following options have to be set: Independently of the actual server you are using, he following options have to be set:
- Upstream source: `http://localhost:5000` - Upstream source: `http://localhost:5000`
- Headers to be set by the proxy server: - Headers to be set by the proxy server:
- `Host` - `Host`: Variable pointing to the hostname of the proxy server, e.g. `$host`
- `X-Real-IP` - `X-Real-IP`: Variable pointing to the IP address of the client, e.g. `$remote_addr`
- `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` - `X-Forwarded-Host`: Variable pointing to the hostname of the proxy server, e.g. `$host`
- `X-Forwarded-Server` - `X-Forwarded-Server`: Variable pointing to the hostname of the proxy server, e.g. `$host`
- `X-Forwarded-Port` - `X-Forwarded-Port`: Variable pointing to the port of the proxy server, e.g. `$server_port`
- `X-Forwarded-Proto` - `X-Forwarded-Proto`: `https`
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