Bitnami redmine portable
Or, to apply this redirection by default for all domains, add it to the default VirtualHost block in the /opt/bitnami/apache/conf/nf file. Īdd the following in the /opt/bitnami/apache/apps/APPNAME/conf/nf file in the VirtualHost block for your domain.This means that if you plan to redirect HTTPS requests to a non-HTTPS endpoint, you must ensure that your SSL certificate includes an entry for the HTTPS endpoint requested in the first instance.
NOTE: Many browsers perform SSL verification of HTTPS endpoints before executing any redirection. This redirection is an SEO “best practice”.Īdd the following rules in the /opt/bitnami/apache/conf/vhosts/nf file, within the VirtualHost block for your domain: Īdd the following rules in the /opt/bitnami/apache/conf/vhosts/nf file, within the VirtualHost block for your domain: The sections below cover two common scenarios. The next step is to add the necessary redirection rules for each domain. Option B: Create symlinks to the default certificates.Īfter modifying the Apache configuration files, restart Apache to apply the changes: $ sudo /opt/bitnami/ctlscript.sh restart apache SSLCertificateKeyFile “/opt/bitnami/apache/conf/bitnami/certs/” SSLCertificateFile “/opt/bitnami/apache/conf/bitnami/certs/” Option A: Update the SSLCertificateFile and SSLCertificateKeyFile directives for the virtual host to reflect the correct path for each virtual host’s certificates:
You will also need to create new certificates for each virtual host running on port 443 or use existing certificates, such as the default certificates shipped with the stack. This option is designed to specify alternate names for a host and is used when matching requests. Here’s an example: Īdd a ServerAlias in the /opt/bitnami/apache/conf/vhosts/nf file for your application.