The differences between two versions are shown here.
| Both sides of the previous revisionPrevious revisionNext revision | Previous revision | ||
| http_plaintext_access [2023/08/11 10:03] – lwsystems | http_plaintext_access [2023/08/16 13:18] (current) – [Nginx] lwsystems | ||
|---|---|---|---|
| Zeile 26: | Zeile 26: | ||
| Zusätzlich muss sichergestellt sein, daß der Header // | Zusätzlich muss sichergestellt sein, daß der Header // | ||
| + | |||
| + | ==== Apache2.4 ==== | ||
| For an Apache 2.4 reverse proxy, these settings are configured as follows: | For an Apache 2.4 reverse proxy, these settings are configured as follows: | ||
| - | <code> | + | <file> |
| ProxyPreserveHost on | ProxyPreserveHost on | ||
| RequestHeader set X-Forwarded-Proto " | RequestHeader set X-Forwarded-Proto " | ||
| - | </code> | + | </file> |
| + | |||
| + | ==== Nginx ==== | ||
| + | |||
| + | When using nginx, the following configuration must be added to the proxy block: | ||
| + | |||
| + | < | ||
| + | proxy_set_header Host $host; | ||
| + | proxy_set_header X-Forwarded-Proto $scheme; | ||
| + | </file> | ||