You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @ergin and thank you very much for your work on this script, I came across it a few times and finally implemented your research into my SlickStack script after several users asked for it.
This is not so much a feature request, but in case you wanted to share an alternative way to build cloudflare.conf using sed and an existing boilerplate, it seems to work okay...
And the placeholders in the boilerplate @CLOUDFLARE_IPV4_LIST and @CLOUDFLARE_IPV6_LIST get replaced via sed using your nifty bash for loop and a few tmp files.
Anyway I had never used sed this way before so just wanted to share. Thanks!
P.S. we credited you in the script comments at the bottom
The text was updated successfully, but these errors were encountered:
Hello @ergin and thank you very much for your work on this script, I came across it a few times and finally implemented your research into my SlickStack script after several users asked for it.
This is not so much a feature request, but in case you wanted to share an alternative way to build
cloudflare.conf
usingsed
and an existing boilerplate, it seems to work okay...Ref: https://github.com/littlebizzy/slickstack/blob/master/bash/ss-install-nginx-cloudflare-ips.txt
This is an example boilerplate:
https://github.com/littlebizzy/slickstack/blob/master/modules/nginx/includes/cloudflare-conf.txt
And the placeholders in the boilerplate
@CLOUDFLARE_IPV4_LIST
and@CLOUDFLARE_IPV6_LIST
get replaced viased
using your nifty bash for loop and a few tmp files.Anyway I had never used
sed
this way before so just wanted to share. Thanks!P.S. we credited you in the script comments at the bottom
The text was updated successfully, but these errors were encountered: