This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision | |||
|
язык_программирования_python [2026/03/18 15:12] val [Flask Gunicorn] |
язык_программирования_python [2026/03/20 09:13] (current) val [Flask Gunicorn] |
||
|---|---|---|---|
| Line 131: | Line 131: | ||
| if 'PYWEBD_PORT' in os.environ: pywebd_port = os.environ.get('PYWEBD_PORT') | if 'PYWEBD_PORT' in os.environ: pywebd_port = os.environ.get('PYWEBD_PORT') | ||
| else: pywebd_port = myconfig['default']['Listen'] | else: pywebd_port = myconfig['default']['Listen'] | ||
| + | |||
| + | #certfile = "/etc/pywebd/pywebd.crt" | ||
| + | #keyfile = "/etc/pywebd/pywebd.key" | ||
| bind = '0.0.0.0:' + pywebd_port | bind = '0.0.0.0:' + pywebd_port | ||