Skip to content

Commit

Permalink
Update INSTALL.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dbarzin authored Dec 22, 2023
1 parent 43dd4d4 commit 21c6a79
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,31 @@ Finally, restart the Apache service to activate the changes:

sudo systemctl restart apache2

### HTTPS

Here is the configuration file for HTTPS

```xml
<VirtualHost *:443>
ServerName carto.XXXXXXXX
ServerAdmin
DocumentRoot /var/www/mercator/public
SSLEngine on
SSLProtocol all -SSLv2 -SSLv3
SSLCipherSuite HIGH:3DES:!aNULL:!MD5:!SEED:!IDEA
SSLCertificateFile /etc/apache2/certs/certs/carto.XXXXX.crt
SSLCertificateKeyFile /etc/apache2/certs/private/private.key
SSLCertificateChainFile /etc/apache2/certs/certs/XXXXXCA.crt
<Directory /var/www/mercator/public>
AllowOverride All
ErrorLog ${APACHE_LOG_DIR}/mercator_error.log
CustomLog ${APACHE_LOG_DIR}/mercator_access.log combined
```

To force HTTPS redirection you have to set this parameter in .env

APP_ENV=production

## Problems

### Restore the administrator password
Expand Down

0 comments on commit 21c6a79

Please sign in to comment.