Last active
March 8, 2017 08:45
-
-
Save tjarksaul/909ea6dfa3673821ea3010790d931bd7 to your computer and use it in GitHub Desktop.
Prepare macOS server for letsencryot
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# file path: /Library/Server/Web/Config/Proxy/apache_serviceproxy_customsites_letsencrypt.conf | |
ProxyPass /.well-known/acme-challenge http://127.0.0.1:34543/.well-known/acme-challenge | |
ProxyPassReverse /.well-known/acme-challenge http://127.0.0.1:34543/.well-known/acme-challenge |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo launchctl stop com.apple.serviceproxy | |
sudo launchctl start com.apple.serviceproxy | |
sudo ./dehydrated -c -x -f ./config -k ./hook.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment