2: 2020-08-21 (金) 17:38:33 iseki |
3: 2020-08-23 (日) 02:51:19 iseki |
| # Use JupyterHub.bind_url | | # Use JupyterHub.bind_url |
| #c.JupyterHub.base_url = '/' | | #c.JupyterHub.base_url = '/' |
| + | |
| + | # My IP Address |
| + | my_ip_addr = '192.168.27.40' |
| | | |
| ## The public facing URL of the whole JupyterHub application. | | ## The public facing URL of the whole JupyterHub application. |
| # | | # |
| # This is the address on which the proxy will bind. Sets protocol, ip, base_url | | # This is the address on which the proxy will bind. Sets protocol, ip, base_url |
- | c.JupyterHub.bind_url = 'http://192.168.27.20:8000' | + | c.JupyterHub.bind_url = 'http://'+my_ip_addr+':8000' |
| | | |
| ## Whether to shutdown the proxy when the Hub shuts down. | | ## Whether to shutdown the proxy when the Hub shuts down. |
| # | | # |
| # .. versionadded:: 0.9 | | # .. versionadded:: 0.9 |
- | c.JupyterHub.hub_bind_url = 'http://192.168.27.20:8081' | + | c.JupyterHub.hub_bind_url = 'http://'+my_ip_addr+':8081' |
| | | |
| ## The ip or hostname for proxies and spawners to use for connecting to the Hub. | | ## The ip or hostname for proxies and spawners to use for connecting to the Hub. |
| # | | # |
| # .. versionadded:: 0.8 | | # .. versionadded:: 0.8 |
- | c.JupyterHub.hub_connect_ip = '192.168.27.20' | + | c.JupyterHub.hub_connect_ip = my_ip_addr |
| | | |
| ## DEPRECATED | | ## DEPRECATED |
| # See `hub_connect_ip` for cases where the bind and connect address should | | # See `hub_connect_ip` for cases where the bind and connect address should |
| # differ, or `hub_bind_url` for setting the full bind URL. | | # differ, or `hub_bind_url` for setting the full bind URL. |
- | #c.JupyterHub.hub_ip = '192.168.27.20' | |
| #c.JupyterHub.hub_ip = '127.0.0.1' | | #c.JupyterHub.hub_ip = '127.0.0.1' |
| c.JupyterHub.hub_ip = '0.0.0.0' | | c.JupyterHub.hub_ip = '0.0.0.0' |
| # .. deprecated: 0.9 | | # .. deprecated: 0.9 |
| # Use JupyterHub.bind_url | | # Use JupyterHub.bind_url |
- | c.JupyterHub.ip = '192.168.27.20' | + | c.JupyterHub.ip = my_ip_addr |
| | | |
| ## Supply extra arguments that will be passed to Jinja environment. | | ## Supply extra arguments that will be passed to Jinja environment. |
| ## The number of threads to allocate for encryption | | ## The number of threads to allocate for encryption |
| #c.CryptKeeper.n_threads = 16 | | #c.CryptKeeper.n_threads = 16 |
| + | |
| #br | | #br |