This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
язык_программирования_python [2025/03/02 06:25] val [Web приложение] |
язык_программирования_python [2025/03/16 11:44] (current) val [Web приложение] |
||
---|---|---|---|
Line 65: | Line 65: | ||
app.run(host="0.0.0.0", port=pywebd_port, debug=True) | app.run(host="0.0.0.0", port=pywebd_port, debug=True) | ||
# app.run(ssl_context=('/etc/pywebd/pywebd.crt', '/etc/pywebd/pywebd.key'), debug=True, host='0.0.0.0', port=pywebd_port) | # app.run(ssl_context=('/etc/pywebd/pywebd.crt', '/etc/pywebd/pywebd.key'), debug=True, host='0.0.0.0', port=pywebd_port) | ||
+ | |||
</code><code> | </code><code> | ||
# mkdir -p /etc/pywebd/ | # mkdir -p /etc/pywebd/ | ||
Line 74: | Line 75: | ||
Listen = 4080 | Listen = 4080 | ||
</code><code> | </code><code> | ||
- | # ### cp /root/wild.crt /etc/pywebd/pywebd.crt | + | # #cp /root/wild.crt /etc/pywebd/pywebd.crt |
- | # ### cp /root/wild.key /etc/pywebd/pywebd.key | + | # #cp /root/wild.key /etc/pywebd/pywebd.key |
</code> | </code> | ||