CLI support for installer, needs testing.
Fix for installation after reverse proxy.