ci/cd
Gitea Actions Demo / Deploy (push) Successful in 39s

This commit is contained in:
vadim committed 2026-09-24 15:27:25 +03:00
1 parent c0b0eed0df
commit 4ae5e8f830
7 files changed
+96 -2

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
server {
listen 80;
server_name _;
root /usr/share/nginx/html;
index index.html;
location /api/ {
proxy_pass http://${BACKEND_UPSTREAM}/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 / {
try_files $uri /index.html;
}
}