mirror of
https://github.com/haiwen/seafile-admin-docs.git
synced 2025-12-25 18:22:48 +00:00
fix: use nginx to proxy onlyoffice (#525)
Some checks are pending
Deploy CI - 12.0 / deploy (push) Waiting to run
Some checks are pending
Deploy CI - 12.0 / deploy (push) Waiting to run
This commit is contained in:
parent
514e659d68
commit
8e32934341
|
|
@ -189,4 +189,4 @@ kubectl delete -f /opt/seafile-k8s-yaml/ -n seafile
|
|||
|
||||
## Advanced operations
|
||||
|
||||
Please refer from [here](./k8s_advanced_management) for futher advanced operations.
|
||||
Please refer from [here](./k8s_advanced_management.md) for futher advanced operations.
|
||||
|
|
|
|||
|
|
@ -340,4 +340,4 @@ helm delete seafile --namespace seafile
|
|||
|
||||
## Advanced operations
|
||||
|
||||
Please refer from [here](./k8s_advanced_management) for futher advanced operations.
|
||||
Please refer from [here](./k8s_advanced_management.md) for futher advanced operations.
|
||||
|
|
@ -123,4 +123,4 @@ kubectl delete -f /opt/seafile-k8s-yaml/ -n seafile
|
|||
|
||||
## Advanced operations
|
||||
|
||||
Please refer from [here](./k8s_advanced_management) for futher advanced operations.
|
||||
Please refer from [here](./k8s_advanced_management.md) for futher advanced operations.
|
||||
|
|
|
|||
|
|
@ -160,6 +160,18 @@ Modify `nginx.conf` and add reverse proxy for services ***seafile*** and ***sead
|
|||
```
|
||||
=== "onlyoffice"
|
||||
```conf
|
||||
map $http_x_forwarded_proto $the_scheme {
|
||||
default $http_x_forwarded_proto;
|
||||
"" $scheme;
|
||||
}
|
||||
map $http_x_forwarded_host $the_host {
|
||||
default $http_x_forwarded_host;
|
||||
"" $host;
|
||||
}
|
||||
map $http_upgrade $proxy_connection {
|
||||
default upgrade;
|
||||
"" close;
|
||||
}
|
||||
location /onlyofficeds/ {
|
||||
proxy_pass http://127.0.0.1:6233/;
|
||||
proxy_http_version 1.1;
|
||||
|
|
|
|||
Loading…
Reference in New Issue