RFE: configure all Turris webapps to run under URL /turris/
RFE: configure all Turris webapps to run under URL /turris/
Would the Turris Team consider this idea?
/turris/login
/turris/login.json
/turris/logout
/turris/foris-ws
/turris/reforis/
/turris/diagnostics
/turris/snapshots
/baseauth/diagnostics
/baseauth/snapshots
/turris-api/ (instead of /api)
Doing the above could help improve the security of the system by simplifying the configuration, addressing #866
Everything under /turris/ would require turris-auth.
Everything under /baseauth/ would require PAM.
"Virtually" moving all of these services would make it easier to configure other *independent* services in lighttpd, without accidentally inheriting the settings which are currently in the global config and aimed at all the Turris-specific services. This would also make it easier for users to configure *independent* vhosts, e.g. #894
If the Turris Team is willing to consider this, I can mock up some changes to test, and can create a separate, optional file for /etc/lighttpd/conf.d/ to redirect the current Turris URLs to the ones above. Besides the above, a single, optional index.html would be created for the splash page at /, and could redirect to /turris/. Then, end-users could replace that splash page, if they like.
issue