+14
-14
src/content/blog/pds-on-a-pi.md
+14
-14
src/content/blog/pds-on-a-pi.md
···
83
83
84
84
```Caddyfile
85
85
{
86
-
email ${PDS_ADMIN_EMAIL}
87
-
on_demand_tls {
88
-
ask http://localhost:3000/tls-check
89
-
}
86
+
email ${PDS_ADMIN_EMAIL}
87
+
on_demand_tls {
88
+
ask http://localhost:3000/tls-check
89
+
}
90
90
}
91
91
92
92
*.${PDS_HOSTNAME}, ${PDS_HOSTNAME} {
93
-
tls {
94
-
on_demand
95
-
}
96
-
reverse_proxy http://localhost:3000
93
+
tls {
94
+
on_demand
95
+
}
96
+
reverse_proxy http://localhost:3000
97
97
}
98
98
```
99
99
···
103
103
104
104
```caddyfile
105
105
{
106
-
email {$PDS_ADMIN_EMAIL:404@vielle.dev}
107
-
on_demand_tls {
108
-
ask pi:8000/tls-check
109
-
}
106
+
email {$PDS_ADMIN_EMAIL:404@vielle.dev}
107
+
on_demand_tls {
108
+
ask pi:8000/tls-check
109
+
}
110
110
}
111
111
112
112
# ...
113
113
114
114
*.pds.{$HOST:localhost}, pds.{$HOST:localhost} {
115
115
tls {
116
-
on_demand
117
-
}
116
+
on_demand
117
+
}
118
118
reverse_proxy pi:8000
119
119
}
120
120
```