This article describes how you can publish an in-house Blocks server so it becomes accessible also through the Internet. This is particularly useful if you want to make your Blocks server accessible to guests using their own mobile devices. Assuming your location has decent cellular service, this will let your visitors connect to your Blocks server to use it as an audio guide, or similar, based on a Visitor Spot. Since you're using the cellular internet connection already established on all phones, you won't need to provide a wifi network, thereby reducing the technical requirements on site as well as simplifying the onboarding process. A simple, printed QR code can be used to directly connect visitor's phones to your Blocks server.
It's based on a number of services provided by Cloudflare.com:
These services are all currently provided for free by Cloudflare. This guide assumes you can use Cloudflare also as your DNS provider. However, when that's not an option, you can use a slightly different method based on a partial DNS (CNAME Setup).
In order to use this, you need the following:
Once you have the above, follow these steps to publish your in-house Blocks server on the Internet
https://<subdomain>.<domain>/edit
to access the editor.
https://<subdomain>.<domain>/spot
.
Substitute <subdomain>.<domain> above with your subdomain (if any) and domain name.
You're stongly advised to enforce the use of https on all connections, following instructions found here. Using HTTPS avoids sending passwords and other potentially sensitive data as clear text.
IMPORTANT: Make sure you have set a secure password for all users of your Blocks server, so you're not using the default "pixi" password for the admin user.
To protect certain paths (such as everything under /edit in Blocks) with further authorization, add an Access policy in Cloudflare Zero Trust under Access > Applications > Self-hosted. In order to access the editor, you'll then need to further authorize access using the selected method, such as by email from an authorized domain.