Commit graph

243 commits

Author SHA1 Message Date
Verhoeckx
758bc8b3ff
Add the directive ProxyPassReverse
According to the official documentation of Apache the directive ProxyPassReverse should be added when Apache is being used as a reverse proxy. I have tested it and Nexctloud AIO seems to work just fine.

From the documentation:
"This directive lets Apache adjust the URL in the Location, Content-Location and URI headers on HTTP redirect responses. This is essential when Apache is used as a reverse proxy (or gateway) to avoid bypassing the reverse proxy because of HTTP redirects on the backend servers which stay behind the reverse proxy."

https://httpd.apache.org/docs/2.2/mod/mod_proxy.html#ProxyPassReverse


Signed-off-by: Verhoeckx <64807887+Verhoeckx@users.noreply.github.com>
2023-02-18 21:43:20 +01:00
Simon L
73674c6167 document multiarch containers
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-02-16 17:02:44 +01:00
Simon L
43ef6cb056 traefik - the x-robots-tag should be set by nextcloud. dont overwrite it
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-02-15 18:30:01 +01:00
Simon L
f83864764f adjust reverse proxy documentation to also talk about web server
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-02-04 11:00:46 +01:00
hunhejj
841f6596aa Fixup documentation
Signed-off-by: hunhejj <hunhejj@gmail.com>
2023-01-25 13:31:40 +01:00
hunhejj
b3477bad1b Rework the Traefik example
Make the Traefik example more complete.

Signed-off-by: hunhejj <hunhejj@gmail.com>
2023-01-25 13:31:40 +01:00
FreDTV
7f03b4efda
Add Synology instructions (#1813) 2023-01-24 12:49:09 +01:00
Simon L
c09f9f6178 add hint about changing Nextcloud's Datadir in additional places
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-01-24 12:17:15 +01:00
Simon L
2758bea52e
Merge pull request #1822 from DenuxPlays/denux/increase_buffer_size
increase H2WindowSize limit (Reverse Proxy documentation)
2023-01-24 11:58:04 +01:00
Simon L
b664f7c143
Merge pull request #1820 from nextcloud/npm-docs
update npm docs
2023-01-24 11:32:49 +01:00
-Denux
43227cf6f7
undo nginx changes (handled in seperated pr)
Signed-off-by: -Denux <83671398+DenuxPlays@users.noreply.github.com>
2023-01-22 17:39:06 +01:00
-Denux
8227207490
increased H2WindowSize limit
Signed-off-by: -Denux <83671398+DenuxPlays@users.noreply.github.com>
2023-01-22 17:32:06 +01:00
Zoey
9396264c92
update npm docs
Signed-off-by: Zoey <zoey@z0ey.de>
2023-01-21 23:44:02 +01:00
Zoey
b50dcb669e
nginx proxy docs changes
- add more proxy headers
- change client_body_buffer_size
- enable ssl_early_data

Signed-off-by: Zoey <zoey@z0ey.de>
2023-01-19 20:44:10 +01:00
Zoey
77922954b4
add suggestion
Signed-off-by: Zoey <zoey@z0ey.de>
2023-01-19 17:33:35 +01:00
Zoey
e845fd24a2
note on proxy_read_timeout
Signed-off-by: Zoey <zoey@z0ey.de>
2023-01-19 16:43:38 +01:00
Simon L
d5216d3978 update 2nd screenshot of synology RP
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-01-18 19:48:08 +01:00
-Denux
843168fefe
Apply suggestions from code review
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: -Denux <83671398+DenuxPlays@users.noreply.github.com>
2023-01-16 17:15:09 +01:00
-Denux
04466f0c42
added h2 window size 2023-01-16 17:05:40 +01:00
hunhejj
bd68ff4c86
Add hint for using a YAML to TOML converter
Signed-off-by: hunhejj <hunhejj@gmail.com>
2023-01-14 10:24:01 +01:00
hunhejj
ccfd840a06
Codestyle fix
Signed-off-by: hunhejj <hunhejj@gmail.com>
2023-01-13 09:01:03 +01:00
hunhejj
a0fe0bbaeb
Rewrite Traefik examples using yml config
Signed-off-by: hunhejj <hunhejj@gmail.com>
2023-01-13 08:58:31 +01:00
hunhejj
a914a29c26
Add the X-Robots-Tag to the response header
Signed-off-by: hunhejj <hunhejj@gmail.com>
2023-01-12 21:00:55 +01:00
hunhejj
afb231bc9a
Migrate deprecated sslRedirect
Signed-off-by: hunhejj <hunhejj@gmail.com>
2023-01-12 20:51:04 +01:00
Simon L
8f48ed59d5
Merge pull request #1696 from nextcloud/enh/1677/improve-cloudflare
Add hint about Cloudflare Rocket Loader and Rename Cloudflare Argo Tu…
2023-01-12 13:57:49 +01:00
hunhejj
55047a9da7
Remove the reference to an unknown middleware
Signed-off-by: hunhejj <hunhejj@gmail.com>
2023-01-11 18:40:46 +01:00
hunhejj
35db5d2467
Fix the middleware name in the Traefik doc
Signed-off-by: hunhejj <hunhejj@gmail.com>
2023-01-11 10:11:09 +01:00
Zoey
4ea03db32e
Update reverse-proxy.md
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Zoey <zoey@z0ey.de>
2023-01-11 06:02:46 +01:00
Zoey
1639e05338
add note to resolver in nginx reverse proxy docs
Signed-off-by: Zoey <zoey@z0ey.de>
2023-01-10 21:07:05 +01:00
Simon L
3738f645a4 Add hint about Cloudflare Rocket Loader and Rename Cloudflare Argo Tunnel to Cloudflare Tunnel
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-01-07 20:15:53 +01:00
Zoey
14e095b569 try to close #1314
Got it from: https://stackoverflow.com/a/41388585 & https://httpd.apache.org/docs/2.4/mod/mod_rewrite.html
In my test, it works

Signed-off-by: Zoey <zoey@z0ey.de>
2022-12-23 15:33:15 +01:00
Simon L
35b87eee9b typo
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-22 00:14:19 +01:00
Simon L
1a7dbb4dab fix small detail
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-22 00:12:50 +01:00
Simon L
73e029ec23 improve the reverse proxy documentation further
Signed-off-by: Simon L <szaimen@e.mail.de>
2022-12-22 00:08:53 +01:00
Zoey
9019fda7e4 Fix reverse proxy documentation for nginx
Signed-off-by: Zoey <zoey@z0ey.de>
2022-11-28 15:51:18 +01:00
Zoey
b7708b66df optimize nginx reverse proxy documentation
With this change, it is not needed to change the main http block

Signed-off-by: Zoey <zoey@z0ey.de>
2022-10-28 17:15:33 +02:00
Zoey
a0dc8781a7 improve nginx reverse proxy documnetation
Signed-off-by: Zoey <zoey@z0ey.de>
2022-10-27 22:11:22 +02:00
TheManchineel
201dbc15ae 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>
2022-10-27 12:51:10 +02:00
szaimen
d4645d50ab make nginx config more verbose
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-10-24 18:58:39 +02:00
Simon L
4cbc8c7e53
Merge pull request #1259 from Klaus15/patch-1
Update nginx section of reverse-proxy.md
2022-10-24 18:58:09 +02:00
Simon L
4cffe12e16
Merge pull request #1197 from nextcloud/enh/noid/add-haproxy
add HaProxy to reverse proxy documentation
2022-10-24 18:51:21 +02:00
szaimen
132b97ba20 add some guides for local dns server
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-10-18 23:50:16 +02:00
Klaus15
5641f62561
Update nginx section of reverse-proxy.md
added nginx.conf code snippet to get a working websocket config

Signed-off-by: Klaus15 <le_kluus@web.de>
2022-10-13 23:04:32 +02:00
szaimen
ce47fab555 remove the issue from the doc
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-10-09 17:48:40 +02:00
szaimen
0bbae775c6 small detail
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-10-09 17:28:29 +02:00
szaimen
ca5e97ef5b rework the apache reverse proxy documentation
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-10-09 17:22:24 +02:00
szaimen
1b7c7a3d66 add lets encrypt back
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-10-06 18:59:23 +02:00
szaimen
bce24687cc add Synology Reverse Proxyy to reverse proxy documentation
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-27 14:54:49 +02:00
szaimen
fd3c30bdb7 add a disclaimer
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-26 19:28:18 +02:00
szaimen
730128b1ab add HaProxy to reverse proxy documentation
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-26 19:25:04 +02:00