5e0e5f1066
- Python API server with Gitea-based build (no local files needed) - PostgreSQL on Coolify internal network - React + Vite + Tailwind dashboard - Endpoints: /publish, /deploy, /deploy-all, /api/* - Dockerfile: multi-stage (Node build + Python runtime)
20 lines
384 B
Nginx Configuration File
20 lines
384 B
Nginx Configuration File
server {
|
|
listen 80;
|
|
root /usr/share/nginx/html;
|
|
index index.html;
|
|
|
|
location / {
|
|
try_files $uri $uri/ /index.html;
|
|
}
|
|
|
|
location /api/ {
|
|
proxy_pass http://192.168.10.202:9090/api/;
|
|
proxy_set_header Host $host;
|
|
}
|
|
|
|
location /deploy {
|
|
proxy_pass http://192.168.10.202:9090/deploy;
|
|
proxy_set_header Host $host;
|
|
}
|
|
}
|