Add Gitea CI and automatic dev deployment
Main CI / check-and-build (push) Successful in 1m18s
Development CI / check-and-build (push) Successful in 34s
GitHub Git mirror / mirror (push) Successful in 7s
Development CI / deploy-development (push) Successful in 25s

This commit is contained in:
root committed 2026-10-29 21:30:28 +08:00
1 parent 543564a29c
commit b4f29d4966
20 files changed
+1109 -29

No files matched your search

+4 -2
View File
@@ -1,11 +1,13 @@
server {
listen 80;
root /usr/share/nginx/html;
resolver 127.0.0.11 valid=5s ipv6=off;
location /api/ {
proxy_pass http://api:8000;
set $api_upstream api:8000;
proxy_pass http://$api_upstream;
proxy_http_version 1.1;
# SSE 不能被缓冲;WebSocket 需要升级头
# Preserve SSE delivery and WebSocket upgrades.
proxy_buffering off;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection $connection_upgrade;