Closed jessuppi closed 7 months ago
This is now supported, via ss-install-nginx-config. The new allowed-ips.conf
submodule will be installed if the option CLOUDFLARE_IPS_ONLY
is set to true
in your ss-config:
https://github.com/littlebizzy/slickstack/blob/master/modules/nginx/includes/allowed-ips-conf.txt
https://github.com/littlebizzy/slickstack/blob/master/bash/ss-install-nginx-config.txt
Another related feature that's been discussed.
Ref: https://frankindev.com/2020/11/18/allow-cloudflare-only-in-nginx/