From 7109925d73683cb3431e6066ead6596d0d761993 Mon Sep 17 00:00:00 2001
From: Morrow Shore <97566823+MorrowShore@users.noreply.github.com>
Date: Wed, 30 Apr 2025 12:06:25 +0000
Subject: [PATCH 1/3] Update reverse-proxy.md
Hello again!
Ruikai Wang from the LiteSpeed team was gracious enough to teach us how it's done, and so, we added it here as well with step by step instructions and images.
You can change the text or remove the credits there without asking, so feel free!
Thanks for the awesome stuff.
Signed-off-by: Morrow Shore <97566823+MorrowShore@users.noreply.github.com>
---
reverse-proxy.md | 85 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 85 insertions(+)
diff --git a/reverse-proxy.md b/reverse-proxy.md
index ea9ac15a..042b948c 100644
--- a/reverse-proxy.md
+++ b/reverse-proxy.md
@@ -238,6 +238,91 @@ You can get AIO running using the ACME DNS-challenge. Here is how to do it.
+### OpenLiteSpeed
+
+
+
+click here to expand
+
+Here's how you can set up a name-based reverse proxy to your nextcloud on an OpenLiteSpeed server.
Courtesy of Ruikai Wang from the LiteSpeed team, and Morrow Shore.
+
+
+1. Access your OpenLiteSpeed dashboard.
+
+OpenLiteSpeed panel is installed on port 7080 per default.
+
You can access it by visiting :7080
+
+2. Create a new VHost.
+
+Here's how you can create a new Virtual Host:
+
+
+3. **Fill in things according to this information.**
+
+Host root being `/usr/local/lsws/Example/`
+And the config being `/usr/local/lsws/conf/vhosts/nextcloud.conf`
+
+
+
+If you'd like to change the address of Virtual Host Root or Document Root, make sure they actually exist in the server!
+
+4. Edit the new VHost.
+
+Now, we must inflict some changes to the Virtual Host we just created, so click on your new VHost!
+
+
+
+5. First check the basic tab to make sure everything's alright.
+
+
+
+6. Add these to the general tab.
+
+
+
+7. Create an "External Aplication"
+
+
+
+
+
+Fill it out accordingly and save
+
+
+8. In the same Vhost, Create a "Context"
+
+
+
+Set the new Context to proxy and procceed
+
+
+
+Add "/" as URI or address as URI and select your nextcloud web server
+
+
+
+9. Go to the Listener settings
+
+
+
+Add a new Virtual Host Mapping
+
+
+Now select your nextcloud VHost and write in your desired address
+
+
+
+10. Congratulations.
+
+Just do a gradeful restart by pressing on this green restart icon, and you should be good to go.
+
+
+
+
+
+
+
+
### Citrix ADC VPX / Citrix Netscaler
From 36d802945778b827fb59bb70164e740ca3458eed Mon Sep 17 00:00:00 2001
From: Morrow Shore <97566823+MorrowShore@users.noreply.github.com>
Date: Wed, 30 Apr 2025 12:21:02 +0000
Subject: [PATCH 2/3] Update reverse-proxy.md
Signed-off-by: Morrow Shore <97566823+MorrowShore@users.noreply.github.com>
---
reverse-proxy.md | 15 +++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/reverse-proxy.md b/reverse-proxy.md
index 042b948c..1200ddbb 100644
--- a/reverse-proxy.md
+++ b/reverse-proxy.md
@@ -260,7 +260,8 @@ Here's how you can create a new Virtual Host:
3. **Fill in things according to this information.**
Host root being `/usr/local/lsws/Example/`
-And the config being `/usr/local/lsws/conf/vhosts/nextcloud.conf`
+And the config being `/usr/local/lsws/conf/vhosts/nextcloud.conf`
+And enable both Restrained and Scripts/ExtApps

@@ -276,7 +277,9 @@ Now, we must inflict some changes to the Virtual Host we just created, so click

-6. Add these to the general tab.
+6. Add Document Root and Domain Name in the general tab.
+The document Root should be `/usr/local/lsws/nextcloud/html/`
+And the domain name should be where you'd like your nextcloud to be!

@@ -284,9 +287,13 @@ Now, we must inflict some changes to the Virtual Host we just created, so click

+Select Web Server and procceed
+

-Fill it out accordingly and save
+Name it `nextcloud`
+Define the address as the default `127.0.0.1:11000`, or what you selected during installation
+

8. In the same Vhost, Create a "Context"
@@ -297,7 +304,7 @@ Set the new Context to proxy and procceed

-Add "/" as URI or address as URI and select your nextcloud web server
+Add "/" as URI, and select your nextcloud web server

From 75d5a92ed5c2ee3edbbcc41ab79542e825b6d526 Mon Sep 17 00:00:00 2001
From: Morrow Shore <97566823+MorrowShore@users.noreply.github.com>
Date: Fri, 2 May 2025 11:53:28 +0000
Subject: [PATCH 3/3] OpenLiteSpeed Guide Linked
Just Linked the OLS guide as asked!
Signed-off-by: Morrow Shore <97566823+MorrowShore@users.noreply.github.com>
---
reverse-proxy.md | 84 +-----------------------------------------------
1 file changed, 1 insertion(+), 83 deletions(-)
diff --git a/reverse-proxy.md b/reverse-proxy.md
index 1200ddbb..27ee04eb 100644
--- a/reverse-proxy.md
+++ b/reverse-proxy.md
@@ -243,93 +243,11 @@ You can get AIO running using the ACME DNS-challenge. Here is how to do it.
click here to expand
-
-Here's how you can set up a name-based reverse proxy to your nextcloud on an OpenLiteSpeed server.
Courtesy of Ruikai Wang from the LiteSpeed team, and Morrow Shore.
-
-
-1. Access your OpenLiteSpeed dashboard.
-
-OpenLiteSpeed panel is installed on port 7080 per default.
-
You can access it by visiting :7080
-
-2. Create a new VHost.
-
-Here's how you can create a new Virtual Host:
-
-
-3. **Fill in things according to this information.**
-
-Host root being `/usr/local/lsws/Example/`
-And the config being `/usr/local/lsws/conf/vhosts/nextcloud.conf`
-And enable both Restrained and Scripts/ExtApps
-
-
-
-If you'd like to change the address of Virtual Host Root or Document Root, make sure they actually exist in the server!
-
-4. Edit the new VHost.
-
-Now, we must inflict some changes to the Virtual Host we just created, so click on your new VHost!
-
-
-
-5. First check the basic tab to make sure everything's alright.
-
-
-
-6. Add Document Root and Domain Name in the general tab.
-The document Root should be `/usr/local/lsws/nextcloud/html/`
-And the domain name should be where you'd like your nextcloud to be!
-
-
-
-7. Create an "External Aplication"
-
-
-
-Select Web Server and procceed
-
-
-
-Name it `nextcloud`
-Define the address as the default `127.0.0.1:11000`, or what you selected during installation
-
-
-
-8. In the same Vhost, Create a "Context"
-
-
-
-Set the new Context to proxy and procceed
-
-
-
-Add "/" as URI, and select your nextcloud web server
-
-
-
-9. Go to the Listener settings
-
-
-
-Add a new Virtual Host Mapping
-
-
-Now select your nextcloud VHost and write in your desired address
-
-
-
-10. Congratulations.
-
-Just do a gradeful restart by pressing on this green restart icon, and you should be good to go.
-
-
-
+You can find the OpenLiteSpeed reverse proxy guide by @MorrowShore here: https://github.com/nextcloud/all-in-one/discussions/6370
-
### Citrix ADC VPX / Citrix Netscaler