Shield external portal jumps (keep EXTERNAL_* for later), serve /nav from static build, and proxy /book + /community to vertical Next apps with Caddy notes. Co-authored-by: Cursor <cursoragent@cursor.com>
23 lines
1005 B
Plaintext
23 lines
1005 B
Plaintext
PAYJSAPI
|
|
# /etc/systemd/system/payjsapi.service
|
|
[Unit]
|
|
Description=PayJSAPI FastAPI (api.nomadro.cn)
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory=/var/www/api.nomadro.cn
|
|
EnvironmentFile=-/var/www/api.nomadro.cn/.env.local
|
|
ExecStart=/var/www/api.nomadro.cn/venv/bin/python /var/www/api.nomadro.cn/run.py
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
LISTEN 0 4096 127.0.0.1:18080 0.0.0.0:* users:(("weed",pid=3193409,fd=29))
|
|
LISTEN 0 4096 127.0.0.1:8080 0.0.0.0:* users:(("weed",pid=3193409,fd=31))
|
|
LISTEN 0 4096 127.0.0.1:8090 0.0.0.0:* users:(("pocketbase",pid=2463064,fd=15))
|
|
NGINX_ALL
|
|
PAYJSAPI_PORT
|
|
LISTEN 0 2048 0.0.0.0:8007 0.0.0.0:* users:(("python",pid=3203201,fd=7))
|