aboutsummarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Linz2016-07-27 11:01:16 +0200
committerAndreas Linz2016-07-27 11:01:16 +0200
commit7f7bd89abc4ad600664990a121463be173c56679 (patch)
tree5c9d6035dc6bb0b127285bde235d2fa8ab7dc5a5
parentb25873c51e58f39140a23448c4adb21881ee0f26 (diff)
downloadaur-7f7bd89abc4ad600664990a121463be173c56679.tar.gz
Add missing instrunctions and warnings
-rw-r--r--README.md16
1 files changed, 15 insertions, 1 deletions
diff --git a/README.md b/README.md
index 25f57c8cb0a6..16f7e1c67f5e 100644
--- a/README.md
+++ b/README.md
@@ -17,17 +17,31 @@ Run the following command to create the system user and group for www-data:
useradd --system --shell /usr/bin/nologin www-data
```
+*Important*: check the permissions of the *web root* and *caddy configuration* and `chown -R www-data:www-data` them if necessary.
+
TLS assets are now stored in `$HOME/.caddy`, where `$HOME` is the run users home directory.
Caddy will make the migration for you, so don't worry.
You can override the default path by setting the `$CADDYPATH` variable.
The upstream systemd service sets `HOME` for `www-data` to `/etc/ssl/caddy`, hence make sure that the directory exists:
```sh
-mkdir -p /etc/ssl/caddy
+mkdir -p /etc/ssl/caddy && chown -R www-data:www-data /etc/ssl/caddy
```
The caddy binary is now installed to `/usr/local/bin` instead `/usr/bin`.
+*Important*: `import`s are now relative to your `Caddyfile`! The following example illustrates nested imports:
+ ```ini
+ # Caddyfile
+ import config/some.site
+ import config/default
+ ...
+
+ # config/some.site
+ import default
+ ...
+ ```
+
Have fun with the latest caddy release!
If you've any questions, please create an issue in the [github repo](https://github.com/klingtnet/caddy-AUR).