From f354e1a1e8e3676aca441bc916759e3ba417c0bc Mon Sep 17 00:00:00 2001 From: status404 Date: Fri, 6 Mar 2026 12:19:23 +0300 Subject: [PATCH] fix act_runner build job --- .gitea/workflows/build.yaml | 2 +- etc/nginx/http.d/trac.conf | 14 ++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) create mode 100644 etc/nginx/http.d/trac.conf diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index 30b9a3d..43bc79d 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -6,7 +6,7 @@ on: - main - master schedule: - - cron: '40 10 * * 1' + - cron: '40 10 * * *' jobs: main-build-job: diff --git a/etc/nginx/http.d/trac.conf b/etc/nginx/http.d/trac.conf new file mode 100644 index 0000000..f2a8676 --- /dev/null +++ b/etc/nginx/http.d/trac.conf @@ -0,0 +1,14 @@ +server { + server_name _; + + location / { + proxy_pass http://localhost:8055; + 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; + } + + listen 80; +} +