0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-11-21 17:36:59 -05:00

developer: infrastructure: {dev,try}.next.forgejo.org 302

This commit is contained in:
Earl Warren 2024-07-15 10:08:27 +02:00 committed by Earl Warren
parent 86e44a2cf5
commit 4312369146

View file

@ -202,6 +202,18 @@ server {
}
```
### 302 redirection
```nginx
server {
listen 80;
listen [::]:80;
server_name example.com;
return 302 https://other.example.com$request_uri;
}
```
## Forgejo runners
The LXC container in which the runner is installed must have capabilities that support the backend.
@ -556,6 +568,12 @@ add chain ip code prerouting {
with `nft -f /root/code.nftables`.
#### 302 redirects
- On hetzner02
- try.next.forgejo.org redirects to v(latest stable).next.forgejo.org
- dev.next.forgejo.org redirects to v(latest dev).next.forgejo.org
#### Containers
- `fogejo-code` on hetzner02