mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-07-06 13:01:35 -07:00
grpc section (#644)
* grpc section * adjust date * update grpc pass for pydio-cells * update port --------- Co-authored-by: aptalca <541623+aptalca@users.noreply.github.com>
This commit is contained in:
parent
c3ba635920
commit
6b2e31a42b
1 changed files with 4 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
|||
## Version 2023/05/31
|
||||
## Version 2024/03/14
|
||||
# make sure that your pydio-cells container is named pydio-cells
|
||||
# make sure that your dns has a cname set for pydio-cells
|
||||
|
||||
|
@ -40,6 +40,9 @@ server {
|
|||
set $upstream_app pydio-cells;
|
||||
set $upstream_port 8080;
|
||||
set $upstream_proto https;
|
||||
if ($http_content_type = "application/grpc") {
|
||||
grpc_pass grpcs://$upstream_app:$upstream_port;
|
||||
}
|
||||
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue