Harden login and refresh production deploy guide

This commit is contained in:
2026-05-17 05:52:09 +07:00
parent 9141f99f6a
commit 1274f2b822
5 changed files with 255 additions and 197 deletions

View File

@ -4,10 +4,10 @@ After=network.target postgresql.service
[Service]
Type=simple
WorkingDirectory=/var/www/abelbirdnest-web
WorkingDirectory=/var/www/abelbirdnest-web/AbelBirdNest-Stock
Environment=NODE_ENV=production
Environment=PORT=3007
EnvironmentFile=/var/www/abelbirdnest-web/.env.production
EnvironmentFile=/var/www/abelbirdnest-web/AbelBirdNest-Stock/.env.production
ExecStart=/usr/bin/npm run start
Restart=always
RestartSec=5