-
-
Notifications
You must be signed in to change notification settings - Fork 883
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
Cannot set both location_alias and fastcgi at the same time on a location #591
Comments
You're not doing anything wrong here, the module doesn't currently support this (but a PR to improve things here would definitely be appreciated!) The relevant code is here: https://github.com/jfryman/puppet-nginx/blob/master/manifests/resource/location.pp#L323-L336 You've specified both In the meantime you can use |
I would love to help...unfortunately I am totally new to Puppet so I doubt I could contribute anything of value -- just questions for now :) I will try your suggested solution -- thank you for the quick response. |
Let's leave this open. It's still a valid issue even if you're not up to submitting a PR to address it! |
#966 and @xaque208's #970 are a step in the right direction here, and I think #970 may allow this, specifically in https://github.com/voxpupuli/puppet-nginx/blob/master/templates/vhost/location.erb#L2-L7 If this is still an issue, or if you have time, @alex-barylski, could you try testing current git master and see if the behavior is more along the lines of what you were thinking? We'll be cutting a release soon as well. |
I believe this should be fixed, since no one has tested / verified still, I'm going to close this for now, let's open a new issue if there are additional problems, though I would like to do a better rework of this logic at some point. |
I have the following:
This is the resulting file in .../sites-enabled
Why is split_path and param not being echo'ed to the resulting file -- no errors as far as I can tell. What am I missing???
Alex
The text was updated successfully, but these errors were encountered: