Skip to content

Commit 56dbdea

Browse files
SuperSandro20006543
authored and
Sysoev, Vladimir
committed
1 parent 83a075c commit 56dbdea

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/content/doc/usage/reverse-proxies.en-us.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ server {
8888
listen 80;
8989
server_name git.example.com;
9090
91-
location /_/static/assets {
92-
alias /path/to/gitea/public;
91+
location /_/static/assets/ {
92+
alias /path/to/gitea/public/;
9393
}
9494
9595
location / {
@@ -120,8 +120,8 @@ server {
120120
listen 80;
121121
server_name cdn.example.com;
122122
123-
location /gitea {
124-
alias /path/to/gitea/public;
123+
location /gitea/ {
124+
alias /path/to/gitea/public/;
125125
}
126126
127127
location / {
@@ -362,4 +362,4 @@ gitea:
362362
- "traefik.http.services.gitea-websecure.loadbalancer.server.port=3000"
363363
```
364364
365-
This config assumes that you are handling HTTPS on the traefik side and using HTTP between Gitea and traefik.
365+
This config assumes that you are handling HTTPS on the traefik side and using HTTP between Gitea and traefik.

0 commit comments

Comments
 (0)