-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added how to use Caddy Certificate for Postal #80
base: main
Are you sure you want to change the base?
Conversation
use postal restart instead of more complex postal stop && postal start fixed directory in manual certificate copy
```bash | ||
#!/bin/bash | ||
|
||
CERT_DIR="/opt/postal/caddy-data/caddy/certificates/acme-v02.api.letsencrypt.org-directory/YOURDOMAIN/" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does this only work if you have caddy installed directly on the server or are you mapping a docker volume to get this out of the container?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes this is for a direct install on the server, if it is in a docker volume, you'd probably have to adjust the paths
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
having just re-familiarised myself with the docs https://docs.postalserver.io/getting-started/installation#caddy
looks like you have used the docker paths right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As yes, of course, wherever possible i used the docker installation path and information
I had to find all of this information on different discussion threads until and saw that others also didn't find it. Therefor i added it to the official documentation.
sources:
https://github.com/orgs/postalserver/discussions/1572
https://github.com/orgs/postalserver/discussions/2673