3 ms·
Your best bet is probably to put it behind nginx and use something like supervisord to launch the server itself and restart it if it panics (supervisor will als
by hedgehog 12y ago
Your best bet is probably to put it behind nginx and use something like supervisord to launch the server itself and restart it if it panics (supervisor will also handle log rotation etc).
- MoOmer 12y agoHere here for supervisord watching Go behind nginx. I have this set up in production; even using the nginx tcpproxy plugin to reverse proxy some RPC servers.