Static pages
LXC container dedicated to hosting static HTML pages.
LXC container
See the static-pages section in the infrastructure documentation.
SSL on the LXC host
Each domain has a /etc/nginx/sites-available/f3.forgefriends.forgejo.org
file similar to the following
on the host where the LXC container resides.
Obtain the certificate:
Creation in the LXC container
With the example of f3.forgefriends.forgejo.org
and
f3.forgefriends.org
serving the same content.
login
From the LXC host:
nginx
clone
Update in the LXC container
Webhook
Create a POST
webhook with the URL https://f3.forgefriends.forgejo.org/.well-known/forgejo/f3.forgefriends.org
on https://code.forgejo.org/f3/html-documentation. It is expected to fail with 404, the information will be extracted from the web server logs.
To verify that it works:
journalctl -f --unit static-pages
Test delivery
at https://code.forgejo.org/f3/html-documentation/settings/hooks/4