mirror of
https://github.com/jc21/nginx-proxy-manager.git
synced 2024-08-30 18:22:48 +00:00
Update index.js
This commit is contained in:
parent
63d06da8a8
commit
784caa2265
@ -25,6 +25,7 @@ async function appStart () {
|
|||||||
logger.info('Backend PID ' + process.pid + ' listening on port 3000 ...');
|
logger.info('Backend PID ' + process.pid + ' listening on port 3000 ...');
|
||||||
|
|
||||||
process.on('SIGTERM', () => {
|
process.on('SIGTERM', () => {
|
||||||
|
//insecure. can be exploited. please fix this.
|
||||||
logger.info('PID ' + process.pid + ' received SIGTERM');
|
logger.info('PID ' + process.pid + ' received SIGTERM');
|
||||||
server.close(() => {
|
server.close(() => {
|
||||||
logger.info('Stopping.');
|
logger.info('Stopping.');
|
||||||
|
Loading…
Reference in New Issue
Block a user