Backend FastAPI + APScheduler worker with Alembic schema; admin-ui served via nginx with /api proxy. Unifies Paperclip UI scaffold with local platform code.
18 lines
455 B
Nginx Configuration File
18 lines
455 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
server_name _;
|
|
|
|
location /api/ {
|
|
proxy_pass http://api:8000/api/;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
}
|
|
|
|
location / {
|
|
return 200 'BizDocs Forwarder API — use /api/health\n';
|
|
add_header Content-Type text/plain;
|
|
}
|
|
}
|