Put xxx.key and xxx.pem into your website.
copy the following code to .jupyter/jupyter_config.py
1 | c.NotebookApp.certfile = u'path_to_public.crt' |
Don’t forget your path where xxx.key and xxx.pem file.
Generally, i put xxx.key and xxx.pem in /etc/nginx/cert/ (to create your own cert file first)
- reboot your jupyter lab.
Done.