Ok the Elixirforum.com mirror is now automatically updated three times a day ![]()
If anyone wants the bashscript I am using it is:
#!/bin/bash
cd /path/to/your/elixir-lang.github.com/directory
git pull
jekyll b
rm -rf /path/to/where/you/serve/the/mirror/from/public_html/*
mv /path/to/your/elixir-lang.github.com/directory/_site/* /path/to/where/you/serve/the/mirror/from/public_html/
@OvermindDL1 I use letsencrypt as well, but have never used it on a sub-domain before - I use HAProxy on the front end and Discourse uses Docker (so unusual set-up) and didn’t want to risk any probs with the forum
is https a must just for the mirror which is a static site? I would think http is fine as there’s no log-in, etc?
If there is a simple/easy way to mirror Hex docs I’m happy to do that as well ![]()






















