From 81b80ef60f11b1648a78a1d0408f05d7d7489330 Mon Sep 17 00:00:00 2001 From: Jonas Date: Tue, 17 Dec 2024 13:34:52 +0100 Subject: [PATCH] Add missing trailing slash in reverse proxy config docs Signed-off-by: Jonas --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 39bb7bddd6d..09699b84c21 100644 --- a/README.md +++ b/README.md @@ -50,10 +50,10 @@ Follow its development setup and then continue here. To use the advantages of `vite serve` with hot module replacement (HMR) and not have to recompile the JS assets after each code change, do the following: 1. Configure your webserver to redirect requests to `/apps/text/` to the vite serve server. - When using [nextcloud-docker-dev](https://github.com/juliusknorr/nextcloud-docker-dev), add the following snippet to `data/nginx/vhost.d/nextcloud.local` and restart the proxy container. You might have to replace `/apps/text` with e.g. `/apps-extra/text` depending on where the text app resides in your dev setup. + When using [nextcloud-docker-dev](https://github.com/juliusknorr/nextcloud-docker-dev), add the following snippet to `data/nginx/vhost.d/nextcloud.local` and restart the proxy container. You might have to replace `/apps/text/` with e.g. `/apps-extra/text/` depending on where the text app resides in your dev setup. ``` location /apps/text/ { - proxy_pass http://host.docker.internal:5173/apps/text; + proxy_pass http://host.docker.internal:5173/apps/text/; # fallback to nextcloud server if vite serve doesn't answer error_page 502 = @fallback; }