Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
AJ ONeal | dccebfe16b | |
AJ ONeal | a87e69e332 |
|
@ -1,25 +0,0 @@
|
||||||
tcp:
|
|
||||||
bind:
|
|
||||||
- 80
|
|
||||||
- 443
|
|
||||||
|
|
||||||
tls:
|
|
||||||
modules:
|
|
||||||
- type: acme
|
|
||||||
domains:
|
|
||||||
- '*'
|
|
||||||
email: 'jon@example.com'
|
|
||||||
challenge_type: 'http-01'
|
|
||||||
|
|
||||||
http:
|
|
||||||
trust_proxy: false
|
|
||||||
allow_insecure: false
|
|
||||||
primary_domain: example.com
|
|
||||||
modules:
|
|
||||||
- type: static
|
|
||||||
domains:
|
|
||||||
- '*'
|
|
||||||
root: '/srv/www/:hostname'
|
|
||||||
|
|
||||||
mdns:
|
|
||||||
disabled: true
|
|
|
@ -1,6 +1,6 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Goldilocks Internet Server
|
Description=Goldilocks Internet Server
|
||||||
Documentation=https://git.coolaj86.com/coolaj86/goldilocks.js
|
Documentation=https://git.daplie.com/Daplie/goldilocks.js
|
||||||
After=network-online.target
|
After=network-online.target
|
||||||
Wants=network-online.target systemd-networkd-wait-online.service
|
Wants=network-online.target systemd-networkd-wait-online.service
|
||||||
|
|
||||||
|
@ -46,7 +46,7 @@ ProtectSystem=full
|
||||||
# … except TLS/SSL, ACME, and Let's Encrypt certificates
|
# … except TLS/SSL, ACME, and Let's Encrypt certificates
|
||||||
# and /var/log/goldilocks, because we want a place where logs can go.
|
# and /var/log/goldilocks, because we want a place where logs can go.
|
||||||
# This merely retains r/w access rights, it does not add any new. Must still be writable on the host!
|
# This merely retains r/w access rights, it does not add any new. Must still be writable on the host!
|
||||||
ReadWriteDirectories=/etc/goldilocks /srv/www /var/log/goldilocks /opt/goldilocks
|
ReadWriteDirectories=/etc/goldilocks /etc/ssl /srv/www /var/log/goldilocks /opt/goldilocks
|
||||||
# you may also want to add other directories such as /opt/goldilocks /etc/acme /etc/letsencrypt
|
# you may also want to add other directories such as /opt/goldilocks /etc/acme /etc/letsencrypt
|
||||||
|
|
||||||
# Note: in v231 and above ReadWritePaths has been renamed to ReadWriteDirectories
|
# Note: in v231 and above ReadWritePaths has been renamed to ReadWriteDirectories
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
# #
|
# #
|
||||||
###############################
|
###############################
|
||||||
|
|
||||||
# See https://git.daplie.com/Daplie/daplie-snippets/blob/master/bash/http-get.sh
|
# See https://git.coolaj86.com/coolaj86/snippets/blob/master/bash/http-get.sh
|
||||||
|
|
||||||
_h_http_get=""
|
_h_http_get=""
|
||||||
_h_http_opts=""
|
_h_http_opts=""
|
||||||
|
|
Loading…
Reference in New Issue