Skip to content

Commit 6b2e31a

Browse files
drizuidaptalca
andauthored
grpc section (#644)
* grpc section * adjust date * update grpc pass for pydio-cells * update port --------- Co-authored-by: aptalca <[email protected]>
1 parent c3ba635 commit 6b2e31a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

pydio-cells.subdomain.conf.sample

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Version 2023/05/31
1+
## Version 2024/03/14
22
# make sure that your pydio-cells container is named pydio-cells
33
# make sure that your dns has a cname set for pydio-cells
44

@@ -40,6 +40,9 @@ server {
4040
set $upstream_app pydio-cells;
4141
set $upstream_port 8080;
4242
set $upstream_proto https;
43+
if ($http_content_type = "application/grpc") {
44+
grpc_pass grpcs://$upstream_app:$upstream_port;
45+
}
4346
proxy_pass $upstream_proto://$upstream_app:$upstream_port;
4447

4548
}

0 commit comments

Comments
 (0)