Add "X-Forwarded-Host" to README

This commit is contained in:
bellington3 2020-10-19 21:10:20 +02:00
parent c4ba449e31
commit 508f2af05f
1 changed files with 4 additions and 3 deletions

View File

@ -76,10 +76,11 @@ You will need PHP 7.2 (or higher) and the following PHP modules:
## Web server configuration
If you want to serve the application under a basepath and/or with a different internal than external port (scenario: nginx->docker setup) Alltube supports the following headers:
If you want to serve the application under a basepath and/or with a different internal than external port (scenario: nginx->docker setup) Alltube supports the following X-Forwarded headers:
* X-Forwarded-Port (example: `5555`)
* X-Forwarded-Path (example: `/alltube`)
* X-Forwarded-Host (ex. `another.domain.com`)
* X-Forwarded-Path (ex: `/alltube`)
* X-Forwarded-Port (ex: `5555`)
### Apache