diff options
author | nodiscc <nodiscc@gmail.com> | 2020-08-15 19:39:28 +0200 |
---|---|---|
committer | nodiscc <nodiscc@gmail.com> | 2020-09-12 14:31:45 +0200 |
commit | 6c4cae378e87b43a793cd91a87dc1952106107f7 (patch) | |
tree | 9aa26837099acb064d4dfb06136e0822ce7d6760 | |
parent | 1aeefe108861e5e01c6a1067935b00d24e606dd5 (diff) | |
download | Shaarli-6c4cae378e87b43a793cd91a87dc1952106107f7.tar.gz Shaarli-6c4cae378e87b43a793cd91a87dc1952106107f7.tar.zst Shaarli-6c4cae378e87b43a793cd91a87dc1952106107f7.zip |
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
-rw-r--r-- | doc/md/Server-configuration.md | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/doc/md/Server-configuration.md b/doc/md/Server-configuration.md index 4164980b..2ee15ef6 100644 --- a/doc/md/Server-configuration.md +++ b/doc/md/Server-configuration.md | |||
@@ -122,12 +122,6 @@ sudo nano /etc/apache2/sites-available/shaarli.mydomain.org.conf | |||
122 | ServerName shaarli.mydomain.org | 122 | ServerName shaarli.mydomain.org |
123 | DocumentRoot /var/www/shaarli.mydomain.org/ | 123 | DocumentRoot /var/www/shaarli.mydomain.org/ |
124 | 124 | ||
125 | # Log level. Possible values include: debug, info, notice, warn, error, crit, alert, emerg. | ||
126 | LogLevel warn | ||
127 | # Log file locations | ||
128 | ErrorLog /var/log/apache2/error.log | ||
129 | CustomLog /var/log/apache2/access.log combined | ||
130 | |||
131 | # Redirect HTTP requests to HTTPS | 125 | # Redirect HTTP requests to HTTPS |
132 | RewriteEngine on | 126 | RewriteEngine on |
133 | RewriteRule ^.well-known/acme-challenge/ - [L] | 127 | RewriteRule ^.well-known/acme-challenge/ - [L] |
@@ -140,12 +134,6 @@ sudo nano /etc/apache2/sites-available/shaarli.mydomain.org.conf | |||
140 | ServerName shaarli.mydomain.org | 134 | ServerName shaarli.mydomain.org |
141 | DocumentRoot /var/www/shaarli.mydomain.org/ | 135 | DocumentRoot /var/www/shaarli.mydomain.org/ |
142 | 136 | ||
143 | # Log level. Possible values include: debug, info, notice, warn, error, crit, alert, emerg. | ||
144 | LogLevel warn | ||
145 | # Log file locations | ||
146 | ErrorLog /var/log/apache2/error.log | ||
147 | CustomLog /var/log/apache2/access.log combined | ||
148 | |||
149 | # SSL/TLS configuration (for Let's Encrypt certificates) | 137 | # SSL/TLS configuration (for Let's Encrypt certificates) |
150 | SSLEngine on | 138 | SSLEngine on |
151 | SSLCertificateFile /etc/letsencrypt/live/shaarli.mydomain.org/fullchain.pem | 139 | SSLCertificateFile /etc/letsencrypt/live/shaarli.mydomain.org/fullchain.pem |