Skip to content

website

Thomas Holterbach edited this page Apr 12, 2022 · 5 revisions

The mini-Internet website

The mini-Internet automatically creates a webserver that runs in a dedicated container called WEB and in which several built-in tools are available.

To access the WEB container from outside, we use PROXY container, see the port management page.

Once the mini-Internet has started, you can access the webserver with the following URL: https://your-server-domain. We now explain how to configure the mini-Internet webserver.

Configure the website

The configuration must be done in the setup/website_setup/sh script. You must fill in the hostname and give an email to enable HTTPS. These information are then use to automatically to obtain a certificate using LetsEncrypt (done by the PROXY container). In case HTTP is enough your you, just keep these variables empty.

You can also configuration the ports used by the webserver setup or just use the default ones. Finally, you can configure your timezone.

Port filtering to prevent DDos

Since the webserver is running in the server hosting the mini-Internet, we must avoid potential DDos attacks on the server. We provide the script utils/iptables/filters.sh that applies some basic port filtering rules to mitigate these potential threats.