-
-
Notifications
You must be signed in to change notification settings - Fork 878
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
location_cfg_prepend hash keys ignored #49
Comments
The value for the key 'allow' is three different values (IP{1,2,3}). It looks like for this to work, it should be an array of keys in order to allow multiple 'allow' blocks to be used. |
This will need some code modification. |
hmm ok, so i'll create 2 variables, $location_allow and $location_deny, since these are the only options that can appear multiple times on the nginx location config. Sounds good? |
That would probably work - if you create the variable to take an array, and then iterate through them in the template. That would be 👍 |
👍 I'll try and great a pull request with the code today ;) |
#131 should add this. |
Looks good. Thanks! |
👍 thanks! forgot to do the PR after... |
…ow and deny rules within a location.
I'm setting up a vhost, that should only be accessible from some IP's. Im passing the location_cfg_prepend a hash with the allow and deny keys/values.
However what I see in the config generated is :
Any idea what is happening to the other IPs ? why only IP3 is in the config file?
The text was updated successfully, but these errors were encountered: