Skip to content

Apache configuration fixes

Sunil Mohan Adapa requested to merge SunilMohanAdapa:apache-fixes into master

Created by: SunilMohanAdapa

The motivation for this change is issue #4 (closed) and the bug that make Plinth unusable after install[1].

I have pretty much rewritten the Apache configuation file for Plinth with the following main highlights:

  • Don't hijack the entire SSL site for sake of Plinth.
  • Serve both HTTP and HTTPS sites with default configuration.
  • plinth-ssl configuration only makes SSL compulsory.
  • Don't disable default site during FreedomBox setup run. This is no longer required.
  • Setup and use X-Forwarded-Proto and X-Forwarded-Host headers.
  • Allow Plinth to be used with any Host: header since hostname of FreedomBox machine could be anything and could change.
  • Allow full set of private IP addresses to access Plinth.

Merge request reports

Loading