Add nomadro.live English WordPress stack and audience router
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
17
deploy/nomadro-live/router/nomadro-live-router.service
Normal file
17
deploy/nomadro-live/router/nomadro-live-router.service
Normal file
@@ -0,0 +1,17 @@
|
||||
[Unit]
|
||||
Description=nomadro.live audience router (zh→promo Next, en→WordPress)
|
||||
After=network.target tiktok-promo-frontend.service
|
||||
Wants=tiktok-promo-frontend.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/var/www/nomadro-live-router
|
||||
Environment=PORT=4404
|
||||
Environment=NEXT_UPSTREAM=http://127.0.0.1:3015
|
||||
Environment=WP_UPSTREAM=http://127.0.0.1:8089
|
||||
ExecStart=/usr/bin/node /var/www/nomadro-live-router/server.mjs
|
||||
Restart=always
|
||||
RestartSec=2
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user