From 266a467aa1c8b1b366e53b58b91e641d8aace5dd Mon Sep 17 00:00:00 2001 From: samuel Date: Sun, 1 Mar 2026 15:16:59 +0100 Subject: [PATCH] feat: add nginx conf --- files/nginx/git.netoik.io.conf | 9 +++++++++ files/systemd/actrunner@.service | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 files/nginx/git.netoik.io.conf diff --git a/files/nginx/git.netoik.io.conf b/files/nginx/git.netoik.io.conf new file mode 100644 index 0000000..7e6ae93 --- /dev/null +++ b/files/nginx/git.netoik.io.conf @@ -0,0 +1,9 @@ +server { + listen 443 ssl; + server_name git.netoik.io; + + location / { + proxy_pass http://127.0.0.1:3000; + } +} + diff --git a/files/systemd/actrunner@.service b/files/systemd/actrunner@.service index 787be65..1fc6596 100644 --- a/files/systemd/actrunner@.service +++ b/files/systemd/actrunner@.service @@ -7,7 +7,7 @@ After=network.target gitea.service ExecStartPre=/usr/bin/rpmdev-setuptree ExecStart=/usr/local/bin/act_runner daemon ExecReload=/bin/kill -s HUP $MAINPID -WorkingDirectory=/opt/actrunners/actrunner%i +WorkingDirectory=/var/lib//actrunners/actrunner%i TimeoutSec=0 RestartSec=10 Restart=always