Re: running Cherrypy web service without using Sudo
Michiel Overtoom <motoom-qWit8jRvyhVmR6Xm/[email protected]> Sun, 25 Jun 2017 09:22:56 +0200
| Newsgroups | gmane.comp.python.cherrypy |
|---|---|
| Message-ID | <[email protected]> |
Hi, > On 2017-06-25, at 06:36, DJW <[email protected]> wrote: > > If this for a production/live service, you really should hand responsibility off to something like nginx+uwsgi. That is good advice. I myself use nginx in front of my webapps. I then let supervisord control the starting/stopping of the webapp, which is built using cherrypy. I also let nginx handle the SSL and the static files. >> But what happens if you log out, or your connection to the server is lost? This was a bit of a retorical question. Running the webapp from the commandline is indeed a bad idea, because the app stops funcioning if the above happens. You could run it in a tmux (or screen) to prevent that, but then you don't have the added benefits of nginx. Greetings, -- You received this message because you are subscribed to the Google Groups "cherrypy-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to cherrypy-users+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/[email protected] To post to this group, send email to cherrypy-users-/JYPxA39Uh5TLH3MbocFF+G/[email protected] Visit this group at https://groups.google.com/group/cherrypy-users. For more options, visit https://groups.google.com/d/optout.