mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-02-23 05:15:34 +08:00
Rework NGINX reverse proxy docs to support CODE
As per PR #1236, applied the same documentation change to the NGINX configuration, so as to pass the full URI of each HTTP request to the Collabora Online backend. This fixes #834 but for NGINX rather than Apache. It might be necessary to make similar changes to other proxy software, but NGINX is what I am familiar with. Signed-off-by: TheManchineel <37479927+TheManchineel@users.noreply.github.com>
This commit is contained in:
parent
ab7c2fccad
commit
201dbc15ae
1 changed files with 1 additions and 1 deletions
|
@ -240,7 +240,7 @@ server {
|
||||||
listen 443 ssl;
|
listen 443 ssl;
|
||||||
server_name <your-nc-domain>;
|
server_name <your-nc-domain>;
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://localhost:11000;
|
proxy_pass http://localhost:11000$request_uri;
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
proxy_set_header X-Real-IP $remote_addr;
|
||||||
proxy_set_header Host $host;
|
proxy_set_header Host $host;
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
|
Loading…
Reference in a new issue