Skip to content
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

Option to allow only Cloudflare IPs to connect to origin server #199

Closed
jessuppi opened this issue Apr 20, 2023 · 2 comments
Closed

Option to allow only Cloudflare IPs to connect to origin server #199

jessuppi opened this issue Apr 20, 2023 · 2 comments

Comments

@jessuppi
Copy link
Member

Another related feature that's been discussed.

Ref: https://frankindev.com/2020/11/18/allow-cloudflare-only-in-nginx/

@jessuppi
Copy link
Member Author

@jessuppi
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant