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:
parent
86e44a2cf5
commit
4312369146
1 changed files with 18 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue