security - How to enable SSL for the built-in WSGI server from Python? -
i run wsgi application within python file, using make_server
command.
(i don't know if practice or whether more common setup apache or nginx purpose.)
i want make little server secure adding ssl support. start?
is built-in wsgi server python considered safe? want connection secure. came across wsgi , thought easy use, within python. app used proxy has little functionality, want secure possible.
basically wsgi
interface communication between web-server software (e.i. nginx
or httpd
) , python script/app contains code process requests (usually either application
callable or applications
list of callables).
you need enable ssl on web-server layer. if don't want involve external software may follow @demz's advice , try using eventlet.wrap_ssl
. please find more relevant information here.
Comments
Post a Comment