Browse Source

Update monitoring caddy file to remove acme.sh

pull/59/head
KemoNine 6 months ago
parent
commit
e8bf72f169
Signed by: KemoNine <kemonine@lollipopcloud.solutions> GPG Key ID: 9D79FBF661EC6779
1 changed files with 6 additions and 8 deletions
  1. 6
    8
      armbian/monitoring.md

+ 6
- 8
armbian/monitoring.md View File

@@ -35,20 +35,21 @@ systemctl restart munin-node
35 35
 
36 36
 cat > /etc/caddy/services/munin.conf <<EOF
37 37
 # Munin - Static web resources
38
-domain.tld:80/static domain.tld:443/static {
38
+domain.tld/static {
39
+    tls user@domain.tld
40
+
39 41
     redir 301 {
40 42
         if {scheme} is http
41 43
         / https://domain.tld{uri}
42 44
     }
43 45
 
44 46
     root /etc/munin/static
45
-
46
-    # Use acme.sh Let's Encrypt SSL cert setup
47
-    tls /var/acme.sh/domain.tld/fullchain.cer /var/acme.sh/domain.tld/domain.tld.key
48 47
 }
49 48
 
50 49
 # Munin - main site/cgi's
51
-domain.tld:80 domain.tld:443 {
50
+domain.tld {
51
+    tls user@domain.tld
52
+
52 53
     redir 301 {
53 54
         if {scheme} is http
54 55
         / https://domain.tld{uri}
@@ -62,9 +63,6 @@ domain.tld:80 domain.tld:443 {
62 63
 
63 64
     # Set path to generated HTML via cron/systemd processes
64 65
     root /var/cache/munin/www
65
-
66
-    # Use acme.sh Let's Encrypt SSL cert setup
67
-    tls /var/acme.sh/domain.tld/fullchain.cer /var/acme.sh/domain.tld/domain.tld.key
68 66
 }
69 67
 EOF
70 68
 

Loading…
Cancel
Save