Skip to content

Commit

Permalink
grpc section (linuxserver#644)
Browse files Browse the repository at this point in the history
* grpc section

* adjust date

* update grpc pass for pydio-cells

* update port

---------

Co-authored-by: aptalca <[email protected]>
  • Loading branch information
drizuid and aptalca authored Mar 14, 2024
1 parent c3ba635 commit 6b2e31a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pydio-cells.subdomain.conf.sample
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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;

}
Expand Down

0 comments on commit 6b2e31a

Please sign in to comment.