doc: server configuration: remove apache logging options

see https://github.com/nodiscc/xsrv/blob/master/roles/apache/templates/etc_apache2_conf-available_logging.conf.j2 for an example server-wide logging configuration
This commit is contained in:
nodiscc 2020-08-15 19:39:28 +02:00
parent 1aeefe1088
commit 6c4cae378e

View file

@ -122,12 +122,6 @@ sudo nano /etc/apache2/sites-available/shaarli.mydomain.org.conf
ServerName shaarli.mydomain.org
DocumentRoot /var/www/shaarli.mydomain.org/
# Log level. Possible values include: debug, info, notice, warn, error, crit, alert, emerg.
LogLevel warn
# Log file locations
ErrorLog /var/log/apache2/error.log
CustomLog /var/log/apache2/access.log combined
# Redirect HTTP requests to HTTPS
RewriteEngine on
RewriteRule ^.well-known/acme-challenge/ - [L]
@ -140,12 +134,6 @@ sudo nano /etc/apache2/sites-available/shaarli.mydomain.org.conf
ServerName shaarli.mydomain.org
DocumentRoot /var/www/shaarli.mydomain.org/
# Log level. Possible values include: debug, info, notice, warn, error, crit, alert, emerg.
LogLevel warn
# Log file locations
ErrorLog /var/log/apache2/error.log
CustomLog /var/log/apache2/access.log combined
# SSL/TLS configuration (for Let's Encrypt certificates)
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/shaarli.mydomain.org/fullchain.pem