mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-06 21:11:31 -07:00
Merge pull request #638 from RagingCub/resolvegitealfsauthelia
Resolve lfs incompatibility with authelia for gitea
This commit is contained in:
commit
d1d2ab00c7
1 changed files with 11 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
## Version 2023/05/31
|
## Version 2023/12/26
|
||||||
# make sure that your gitea container is named gitea
|
# make sure that your gitea container is named gitea
|
||||||
# make sure that your dns has a cname set for gitea
|
# make sure that your dns has a cname set for gitea
|
||||||
# edit the following parameters in /data/gitea/conf/app.ini
|
# edit the following parameters in /data/gitea/conf/app.ini
|
||||||
|
@ -48,4 +48,14 @@ server {
|
||||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
location ~ (/gitea)?/info/lfs {
|
||||||
|
include /config/nginx/proxy.conf;
|
||||||
|
include /config/nginx/resolver.conf;
|
||||||
|
set $upstream_app gitea;
|
||||||
|
set $upstream_port 3000;
|
||||||
|
set $upstream_proto http;
|
||||||
|
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue