Hosting Spaces on a sub folder
The default way to host documentation with Archbee is on your custom domain, e.g docs.example.com. To make docs available at your main domain at a sub folder like https://example.com/docs, you will need access to your webservers to be able to proxy requests to our systems.
You will need to setup a default custom domain anyway, and then proxy to it from your main domain. We will take care that Google doesn't see it as duplicate by signalling it through a custom canonical tag.
Step 1: enter the optional proxy like in the picture below.
While you're here, please make sure the URL path at Step 5, is the same one you set below in your webserver config.
Step 2: Here are a couple of samples from popular webservers on how to config it so that the proxying system works.
Nginx Server Config
Apache Server Config
1.Ensure the following modules are installed and enabled:
2.Add the following to the site configuration file under /etc/apache2/sites-available
For example: 000-default.conf
Our full domain test working config looks something like:
3.Restart the Apache server:
For example, If you are using Apache on Linux: