diff --git a/php/templates/containers.twig b/php/templates/containers.twig index 1f492499..3e4401c0 100644 --- a/php/templates/containers.twig +++ b/php/templates/containers.twig @@ -350,6 +350,9 @@

Restore or Backup currently running. Cannot start the containers until Restore or Backup is complete.

{% else %} {% if was_start_button_clicked == false %} + {% if is_desec_domain == true %} + {% include 'includes/desec-domain-notice.twig' %} + {% endif %}

Clicking on the button below will download all docker containers and start them. This can take a long time depending on your internet connection. Since the overall size is a few GB, this can take around 5-10 min or more. Please be patient!

{% endif %} {% if is_mastercontainer_update_available == true %} diff --git a/php/templates/includes/community-containers.twig b/php/templates/includes/community-containers.twig index 2e67d010..2034b950 100644 --- a/php/templates/includes/community-containers.twig +++ b/php/templates/includes/community-containers.twig @@ -2,8 +2,7 @@

In this section you can enable or disable optional Community Containers that are not included by default in the main installation. These containers are provided by the community and can be useful for various purposes and are automatically integrated in AIOs backup solution and update mechanisms.

⚠️ Caution: Community Containers are maintained by the community and not officially by Nextcloud. Some containers may not be compatible with your system, may not work as expected or may discontinue. Use them at your own risk. Please read the documentation for each container first before adding any as some are also incompatible between each other! Never add all of them at the same time!

{% if is_desec_domain == true %} -

ℹ️ Your Nextcloud domain ({{ domain }}) was registered via deSEC. The caddy community container has been automatically enabled as a reverse proxy and the dnsmasq container has been automatically enabled so that LAN devices can resolve your Nextcloud domain to the server's local IP address. Please read the dnsmasq documentation for the required router change.

-

⚠️ Caution: if this is a publicly reachable instance, you must disable dnsmasq again as dnsmasq must only run on home servers where port 53 is not publicly exposed.

+ {% include 'includes/desec-domain-notice.twig' %} {% endif %} {% if isAnyRunning == true %}

Please note: You can enable or disable the options below only when your containers are stopped.

diff --git a/php/templates/includes/desec-domain-notice.twig b/php/templates/includes/desec-domain-notice.twig new file mode 100644 index 00000000..42fa7e2b --- /dev/null +++ b/php/templates/includes/desec-domain-notice.twig @@ -0,0 +1,2 @@ +

ℹ️ Your Nextcloud domain ({{ domain }}) was registered via deSEC. The caddy community container has been automatically enabled as a reverse proxy and the dnsmasq container has been automatically enabled so that LAN devices can resolve your Nextcloud domain to the server's local IP address. Please read the dnsmasq documentation for the required router change.

+

⚠️ Caution: if this is a publicly reachable instance, you must disable dnsmasq again as dnsmasq must only run on home servers where port 53 is not publicly exposed.

diff --git a/php/templates/includes/desec-register.twig b/php/templates/includes/desec-register.twig index c52d7493..1a7ca899 100644 --- a/php/templates/includes/desec-register.twig +++ b/php/templates/includes/desec-register.twig @@ -3,7 +3,6 @@ {% if desec_awaiting_verification %}

⚠️ A deSEC account for {{ desec_email }} was requested but it could not be used yet. Please check your inbox: if deSEC sent you a verification email, click the link inside, then click the button below to finish setting up your domain.

If this email address already had a deSEC account, no new account was created and no verification email was sent. In that case, enter your existing deSEC password below and try again to log in with it.

-

Your deSEC login credentials (for desec.io): Email: {{ desec_email }}.

Reveal deSEC password{{ desec_password }}
. Please save these in a safe place.

@@ -13,7 +12,6 @@
{% elseif desec_account_registered %}

Your deSEC account ({{ desec_email }}) was registered successfully but the domain could not be registered. Please enter a desired subdomain slug (the part before .dedyn.io) and try again, or leave it blank for a random one.

-

Your deSEC login credentials (for desec.io): Email: {{ desec_email }}.

Reveal deSEC password{{ desec_password }}
. Please save these in a safe place.