import os c.NotebookApp.allow_remote_access = True #c.NotebookApp.default_url = '/jupyter/lab?reset' c.ServerApp.allow_origin = '*' c.NotebookApp.allow_origin = '*' c.NotebookApp.ip = '*' c.NotebookApp.notebook_dir = '/' c.NotebookApp.open_browser = False c.NotebookApp.password = '' c.NotebookApp.password_required = False c.NotebookApp.port = 80 c.NotebookApp.base_url = "jupyter/" + os.getenv('JUPYTERSVC') #c.NotebookApp.base_url = "/" c.LabApp.disable_check_xsrf = True c.NotebookApp.disable_check_xsrf = True c.NotebookApp.tornado_settings = {'headers': { 'Content-Security-Policy': "frame-ancestors * 'self'" } } c.NotebookApp.default_show_linenumbers = True