From 02c40afbfb61d0aa3e781db6460ff333860b7e1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Sun, 24 Mar 2024 13:08:12 +0100 Subject: [PATCH] Bind on localhost instead of 0.0.0.0 --- conf/fab-manager-app.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/fab-manager-app.service b/conf/fab-manager-app.service index 0d0c880..0df694a 100644 --- a/conf/fab-manager-app.service +++ b/conf/fab-manager-app.service @@ -10,7 +10,7 @@ Environment="__LD_PRELOAD__" Environment="__YNH_RUBY_LOAD_PATH__" Environment="RAILS_ENV=production" ExecStartPre=-rm -f __INSTALL_DIR__/tmp/pids/server.pid -ExecStart=__INSTALL_DIR__/bin/bundle exec rails s puma -p __PORT__ -b 0.0.0.0 +ExecStart=__INSTALL_DIR__/bin/bundle exec rails s puma -p __PORT__ -b 127.0.0.1 ExecReload=/bin/kill -SIGUSR1 $MAINPID TimeoutSec=15 Restart=always