Gitea caddy
This commit is contained in:
11
services/gitea/gitea.caddy
Normal file
11
services/gitea/gitea.caddy
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
http://git.goofjes.nl {
|
||||||
|
import https-redir
|
||||||
|
}
|
||||||
|
|
||||||
|
https://git.goofjes.nl {
|
||||||
|
import https
|
||||||
|
import compression
|
||||||
|
import default-headers
|
||||||
|
log access
|
||||||
|
reverse_proxy gitea:3000
|
||||||
|
}
|
||||||
@@ -5,4 +5,5 @@ rc-update add gitea.service default
|
|||||||
rc-update add gitea-runner.service default
|
rc-update add gitea-runner.service default
|
||||||
|
|
||||||
# Create runner registration token secret
|
# Create runner registration token secret
|
||||||
|
cd /tmp
|
||||||
su -c "openssl rand -hex 24 | podman secret create gitea-runner-registration-token -" podman
|
su -c "openssl rand -hex 24 | podman secret create gitea-runner-registration-token -" podman
|
||||||
Reference in New Issue
Block a user