Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
blocks:server:publish-on-internet [2023-01-06 20:10] admin created |
blocks:server:publish-on-internet [2025-05-30 10:27] (current) admin Added some cloudflare link for config |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Publishing an in-house Blocks server on the Internet ====== | ====== Publishing an in-house Blocks server on the Internet ====== | ||
- | 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 | + | 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 |
==== Services Used ==== | ==== Services Used ==== | ||
Line 10: | Line 10: | ||
* A [[https:// | * A [[https:// | ||
* Certificate for secure server access (HTTPS). | * Certificate for secure server access (HTTPS). | ||
- | * Caching of many resources, such as images, for improved performance and reducer | + | * Caching of many resources, such as images, for improved performance and reduce |
- | These services are all currently provided for free by Cloudflare. | + | 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 [[https:// |
==== Prerequisites ==== | ==== Prerequisites ==== | ||
Line 28: | Line 28: | ||
- Log in to your Cloudflare dashboard. | - Log in to your Cloudflare dashboard. | ||
- If you're not already using Cloudflare as your DNS provider, you may want to set that up and point your registrar to Cloudflare' | - If you're not already using Cloudflare as your DNS provider, you may want to set that up and point your registrar to Cloudflare' | ||
- | - Select | + | - Select |
- | - Select | + | - Select |
- | - Select Tunnels. | + | - Select |
- | - Complete setup if requested to. | + | - Select **Create |
- | - Enter a "team name" (will also become your URL). | + | - Get your Zone and Account IDs from your Accounts page, required below. |
- | - Select | + | - Get the token to be used by the tunnel as described [[https:// |
- | - Select Tunnels again under Access. | + | |
- | - Create a tunnel. Set the server-side URL to http: with localhost: | + | |
- | | + | |
- Select the operating system of your server (select Debian, 64 bit if you're running a Blocks server based on our Linux server image). | - Select the operating system of your server (select Debian, 64 bit if you're running a Blocks server based on our Linux server image). | ||
- Install and run the Cloudflare Connector as instructed. | - Install and run the Cloudflare Connector as instructed. | ||
Line 42: | Line 39: | ||
- Specify a subdomain (if desired) and domain name for the connector. | - Specify a subdomain (if desired) and domain name for the connector. | ||
- Wait for the tunnel to be created and show a " | - Wait for the tunnel to be created and show a " | ||
- | - Open a browser using https://< | + | - Open a browser using < |
- | - Connect spots using https://< | + | - Connect spots using < |
Substitute < | Substitute < | ||
You're stongly advised to enforce the use of https on all connections, | You're stongly advised to enforce the use of https on all connections, | ||
- | :!: IMPORTANT; Make sure you have set a secure password for all users of your Blocks server, so you're not using the default " | + | :!: **IMPORTANT**: Make sure you have set a secure password for all users of your Blocks server, so you're not using the default " |
==== Recommended Enhancements ==== | ==== Recommended Enhancements ==== |