赞
踩
- # Configuration file for jupyter-notebook.
-
- #------------------------------------------------------------------------------
- # Application(SingletonConfigurable) configuration
- #------------------------------------------------------------------------------
-
- ## This is an application.
-
- ## The date format used by logging formatters for %(asctime)s
- #c.Application.log_datefmt = '%Y-%m-%d %H:%M:%S'
-
- ## The Logging format template
- #c.Application.log_format = '[%(name)s]%(highlevel)s %(message)s'
-
- ## Set the log level by value or name.
- #c.Application.log_level = 30
-
- #------------------------------------------------------------------------------
- # JupyterApp(Application) configuration
- #------------------------------------------------------------------------------
-
- ## Base class for Jupyter applications
-
- ## Answer yes to any prompts.
- #c.JupyterApp.answer_yes = False
-
- ## Full path of a config file.
- #c.JupyterApp.config_file = ''
-
- ## Specify a config file to load.
- #c.JupyterApp.config_file_name = ''
-
- ## Generate default config file.
- #c.JupyterApp.generate_config = False
-
- #------------------------------------------------------------------------------
- # NotebookApp(JupyterApp) configuration
- #------------------------------------------------------------------------------
-
- ## Set the Access-Control-Allow-Credentials: true header
- #c.NotebookApp.allow_credentials = False
-
- ## Set the Access-Control-Allow-Origin header
- #
- # Use '*' to allow any origin to access your server.
- #
- # Takes precedence over allow_origin_pat.
- #c.NotebookApp.allow_origin = ''
-
- ## Use a regular expression for the Access-Control-Allow-Origin header
- #
- # Requests from an origin matching the expression will get replies with:
- #
- # Access-Control-Allow-Origin: origin
- #
- # where `origin` is the origin of the request.
- #
- # Ignored if allow_origin is set.
- #c.NotebookApp.allow_origin_pat = ''
-
- ## Allow password to be changed at login for the notebook server.
- #
- # While loggin in with a token, the notebook server UI will give the opportunity
- # to the user to enter a new password at the same time that will replace the
- # token login mechanism.
- #
- # This can be set to false to prevent changing password from the UI/API.
- #c.NotebookApp.allow_password_change = True
-
- ## Allow requests where the Host header doesn't point to a local server
- #
- # By default, requests get a 403 forbidden response if the 'Host' header shows
- # that the browser thinks it's on a non-local domain. Setting this option to
- # True disables this check.
- #
- # This protects against 'DNS rebinding' attacks, where a remote web server
- # serves you a page and then changes its DNS to send later requests to a local
- # IP, bypassing same-origin checks.
- #
- # Local IP addresses (such as 127.0.0.1 and ::1) are allowed as local, along
- # with hostnames configured in local_hostnames.
- #c.NotebookApp.allow_remote_access = False
-
- ## Whether to allow the user to run the notebook as root.
- #c.NotebookApp.allow_root = False
-
- ## DEPRECATED use base_url
- #c.NotebookApp.base_project_url = '/'
-
- ## The base URL for the notebook server.
- #
- # Leading and trailing slashes can be omitted, and will automatically be added.
- #c.NotebookApp.base_url = '/'
-
- ## Specify what command to use to invoke a web browser when opening the notebook.
- # If not specified, the default browser will be determined by the `webbrowser`
- # standard library module, which allows setting of the BROWSER environment
- # variable to override it.
- #c.NotebookApp.browser = ''
-
- ## The full path to an SSL/TLS certificate file.
- #c.NotebookApp.certfile = ''
-
- ## The full path to a certificate authority certificate for SSL/TLS client
- # authentication.
- #c.NotebookApp.client_ca = ''
-
- ## The config manager class to use
- #c.NotebookApp.config_manager_class = 'notebook.services.config.manager.ConfigManager'
-
- ## The notebook manager class to use.
- #c.NotebookApp.contents_manager_class = 'notebook.services.contents.largefilemanager.LargeFileManager'
-
- ## Extra keyword arguments to pass to `set_secure_cookie`. See tornado's
- # set_secure_cookie docs for details.
- #c.NotebookApp.cookie_options = {}
-
- ## The random bytes used to secure cookies. By default this is a new random
- # number every time you start the Notebook. Set it to a value in a config file
- # to enable logins to persist across server sessions.
- #
- # Note: Cookie secrets should be kept private, do not share config files with
- # cookie_secret stored in plaintext (you can read the value from a file).
- #c.NotebookApp.cookie_secret = b''
-
- ## The file where the cookie secret is stored.
- #c.NotebookApp.cookie_secret_file = ''
-
- ## Override URL shown to users.
- #
- # Replace actual URL, including protocol, address, port and base URL, with the
- # given value when displaying URL to the users. Do not change the actual
- # connection URL. If authentication token is enabled, the token is added to the
- # custom URL automatically.
- #
- # This option is intended to be used when the URL to display to the user cannot
- # be determined reliably by the Jupyter notebook server (proxified or
- # containerized setups for example).
- #c.NotebookApp.custom_display_url = ''
-
- ## The default URL to redirect to from `/`
- #c.NotebookApp.default_url = '/tree'
-
- ## Disable cross-site-request-forgery protection
- #
- # Jupyter notebook 4.3.1 introduces protection from cross-site request
- # forgeries, requiring API requests to either:
- #
- # - originate from pages served by this server (validated with XSRF cookie and
- # token), or - authenticate with a token
- #
- # Some anonymous compute resources still desire the ability to run code,
- # completely without authentication. These services can disable all
- # authentication and security checks, with the full knowledge of what that
- # implies.
- #c.NotebookApp.disable_check_xsrf = Fals
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。