ソースを参照

Similar log settings for all apache virtual hosts

Thomas Buck 5年前
コミット
2d359819a2

+ 3
- 0
roles/blog/templates/etc_apache2_sites-available_commento.j2 ファイルの表示

@@ -12,6 +12,9 @@
12 12
     DirectoryIndex          index.html
13 13
     Options                 -Indexes
14 14
     HostnameLookups         Off
15
+    LogLevel                warn
16
+    ErrorLog                /var/log/apache2/commento.info-error_log
17
+    CustomLog               /var/log/apache2/commento.info-access_log common
15 18
 
16 19
     ProxyRequests           On
17 20
     ProxyPreserveHost       On

+ 3
- 0
roles/blog/templates/etc_apache2_sites-available_fathom.j2 ファイルの表示

@@ -12,6 +12,9 @@
12 12
     DirectoryIndex          index.html
13 13
     Options                 -Indexes
14 14
     HostnameLookups         Off
15
+    LogLevel                warn
16
+    ErrorLog                /var/log/apache2/fathom.info-error_log
17
+    CustomLog               /var/log/apache2/fathom.info-access_log common
15 18
 
16 19
     ProxyRequests           On
17 20
     ProxyPreserveHost       On

+ 3
- 0
roles/gitea/templates/etc_apache2_sites-available_gitea.j2 ファイルの表示

@@ -12,6 +12,9 @@
12 12
     DirectoryIndex          index.html
13 13
     Options                 -Indexes
14 14
     HostnameLookups         Off
15
+    LogLevel                warn
16
+    ErrorLog                /var/log/apache2/gitea.info-error_log
17
+    CustomLog               /var/log/apache2/gitea.info-access_log common
15 18
 
16 19
     ProxyRequests           Off
17 20
     ProxyPreserveHost       On

+ 3
- 0
roles/iot/templates/etc_apache2_sites-available_grafana.j2 ファイルの表示

@@ -12,6 +12,9 @@
12 12
     DirectoryIndex          index.html
13 13
     Options                 -Indexes
14 14
     HostnameLookups         Off
15
+    LogLevel                warn
16
+    ErrorLog                /var/log/apache2/grafana.info-error_log
17
+    CustomLog               /var/log/apache2/grafana.info-access_log common
15 18
 
16 19
     ProxyRequests           Off
17 20
     ProxyPreserveHost       On

+ 3
- 0
roles/mailserver/templates/etc_apache2_sites-available_autoconfig.j2 ファイルの表示

@@ -11,4 +11,7 @@
11 11
     DocumentRoot            "/var/www/autoconfig"
12 12
     Options                 -Indexes
13 13
     HostnameLookups         Off
14
+    LogLevel                warn
15
+    ErrorLog                /var/log/apache2/autoconfig.info-error_log
16
+    CustomLog               /var/log/apache2/autoconfig.info-access_log common
14 17
 </VirtualHost>

+ 3
- 0
roles/mastodon/templates/etc_apache2_sites-available_mastodon.j2 ファイルの表示

@@ -10,6 +10,9 @@
10 10
     SSLEngine               On
11 11
     DocumentRoot            "/home/mastodon/mastodon/public"
12 12
     Alias                   "/system" "/data/mastodon/public-system"
13
+    LogLevel                warn
14
+    ErrorLog                /var/log/apache2/mastodon.info-error_log
15
+    CustomLog               /var/log/apache2/mastodon.info-access_log common
13 16
 
14 17
     Header always set Referrer-Policy "strict-origin-when-cross-origin"
15 18
     Header always set Strict-Transport-Security "max-age=31536000"

+ 3
- 0
roles/matrix/templates/etc_apache2_sites-available_matrix.j2 ファイルの表示

@@ -12,6 +12,9 @@
12 12
     DirectoryIndex          index.html
13 13
     Options                 -Indexes
14 14
     HostnameLookups         Off
15
+    LogLevel                warn
16
+    ErrorLog                /var/log/apache2/matrix.info-error_log
17
+    CustomLog               /var/log/apache2/matrix.info-access_log common
15 18
 
16 19
     ProxyRequests           Off
17 20
     ProxyPreserveHost       On

+ 3
- 0
roles/monitoring/templates/etc_apache2_sites-available_monit.j2 ファイルの表示

@@ -12,6 +12,9 @@
12 12
     DirectoryIndex          index.html
13 13
     Options                 -Indexes
14 14
     HostnameLookups         Off
15
+    LogLevel                warn
16
+    ErrorLog                /var/log/apache2/monit.info-error_log
17
+    CustomLog               /var/log/apache2/monit.info-access_log common
15 18
 
16 19
     ProxyRequests           Off
17 20
     ProxyPreserveHost       On

+ 1
- 0
roles/news/templates/etc_apache2_sites-available_selfoss.j2 ファイルの表示

@@ -10,6 +10,7 @@
10 10
     SSLEngine               On
11 11
     DocumentRoot            /var/www/selfoss
12 12
     Options                 -Indexes
13
+    LogLevel                warn
13 14
     ErrorLog                /var/log/apache2/selfoss.info-error_log
14 15
     CustomLog               /var/log/apache2/selfoss.info-access_log common
15 16
 

+ 1
- 0
roles/nextcloud/templates/etc_apache2_sites-available_nextcloud.j2 ファイルの表示

@@ -10,6 +10,7 @@
10 10
     SSLEngine               On
11 11
     DocumentRoot            /var/www/nextcloud
12 12
     Options                 -Indexes
13
+    LogLevel                warn
13 14
     ErrorLog                /var/log/apache2/nextcloud.info-error_log
14 15
     CustomLog               /var/log/apache2/nextcloud.info-access_log common
15 16
 

+ 1
- 1
roles/webmail/templates/etc_apache2_sites-available_roundcube.j2 ファイルの表示

@@ -10,7 +10,7 @@
10 10
     SSLEngine               On
11 11
     DocumentRoot            /var/lib/roundcube
12 12
     Options                 -Indexes
13
-    LogLevel		        warn
13
+    LogLevel                warn
14 14
     ErrorLog                /var/log/apache2/roundcube.info-error_log
15 15
     CustomLog               /var/log/apache2/roundcube.info-access_log common
16 16
 

読み込み中…
キャンセル
保存