Skip to content

Commit

Permalink
Fix missing RequestHeader statement in Apache config (airsonic/airson…
Browse files Browse the repository at this point in the history
  • Loading branch information
fxthomas committed Apr 15, 2020
1 parent cfd6231 commit e251af3
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions proxy/apache.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ Paste the following configuration in the virtual host file:
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/airsonic-access.log combined
ErrorLog ${APACHE_LOG_DIR}/airsonic-error.log
ProxyPass /airsonic http://127.0.0.1:8080/airsonic
ProxyPassReverse /airsonic http://127.0.0.1:8080/airsonic
RequestHeader set X-Forwarded-Proto "https"
ProxyPass /airsonic http://127.0.0.1:8080/airsonic
ProxyPassReverse /airsonic http://127.0.0.1:8080/airsonic
RequestHeader set X-Forwarded-Proto "https"
</VirtualHost>
```

Expand All @@ -45,6 +46,7 @@ the configuration below inside an existing `VirtualHost` block:
```apache
ProxyPass /airsonic http://127.0.0.1:8080/airsonic
ProxyPassReverse /airsonic http://127.0.0.1:8080/airsonic
RequestHeader set X-Forwarded-Proto "https"
```

You will need to make a couple of changes in the configuration file:
Expand Down

0 comments on commit e251af3

Please sign in to comment.