Apache

This Apache application allows configuration of SSL proxies, using different subdomains for each application, and Apache stats for monitoring, etc.

Installation

Usage

The following files from /share/Configuration/apache must be edited:

  • admin-email.conf: Any email will do. It will be visible on error pages depending on error reporting settings.

  • domain.conf: Uncomment the line if necessary, and set the value to the domain you are using, with no wildcards. For example: example.com or int.example.com

  • server-name.conf: Uncomment the line if necessary, and set the value to the fully qualified name of the NAS. For example: nas.example.com or nas.int.example.com

  • deps.d/persistence/hosts: Uncomment the line if necessary, and set it to the same value as the one used in server-name.conf. This will enable getting the FQDN of the NAS without having to do a DNS resolution.

Website

  • sites-available/_default_.conf should be copied to sites-enabled/_default_.conf if you wish to access the NAS UI without specifying the port.For the example.com domain, the NAS will become available as nas.example.com. This can be changed by changing the hostname variable inside the file; in such a case, you should ensure the FQDN is also in deps.d/persistence/hosts