Fixing document page sidebar issues, adding docs_endpoint sanity check, ...

...and added HTTPS server and certificate options