CustomLog /var/log/apache2/<%= @name %>-access.log combined
ErrorLog /var/log/apache2/<%= @name %>-error.log
+ RedirectPermanent /.well-known/acme-challenge/ http://acme.openstreetmap.org/.well-known/acme-challenge/
RedirectPermanent / https://otrs.openstreetmap.org/
</VirtualHost>
ErrorLog /var/log/apache2/<%= @name %>-error.log
SSLEngine on
+ SSLCertificateFile /etc/ssl/certs/<%= @name %>.pem
+ SSLCertificateKeyFile /etc/ssl/private/<%= @name %>.key
ScriptAlias /otrs/ /opt/otrs/bin/cgi-bin/
Alias /otrs-web/ /opt/otrs/var/httpd/htdocs/
Options +ExecCGI
PerlOptions +ParseHeaders
PerlOptions +SetupEnv
- Order allow,deny
- Allow from all
+ Require all granted
</Location>
<Location /otrs/nph-genericinterface.pl>
<Directory /opt/otrs/bin/cgi-bin>
AllowOverride None
Options +ExecCGI -Includes
- Order allow,deny
- Allow from all
+ Require all granted
</Directory>
<Directory /opt/otrs/var/httpd/htdocs>
AllowOverride None
- Order allow,deny
- Allow from all
+ Require all granted
</Directory>
<Directory /opt/otrs/var/httpd/htdocs/skins/*/*/css-cache>