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
Right now an nginx location config can only be assigned to one single nginx server passing it as a String. It would be nice to be able to define one nginx location and re-use it for multiple nginx servers. This could be done by passing an Array instead of a String. Here is an example of what I mean using hiera YAML config:
Moving to this module from jfryman-nginx and this functionality was used heavily in our setup. Let's encrypt is far from the only usage case in which multiple vhosts will require the same location definitions.
Right now an nginx location config can only be assigned to one single nginx server passing it as a String. It would be nice to be able to define one nginx location and re-use it for multiple nginx servers. This could be done by passing an Array instead of a String. Here is an example of what I mean using hiera YAML config:
This would avoid having to duplicate nginx location config blocks for multiple websites and hence have a shorter and cleaner config following DRY.
The text was updated successfully, but these errors were encountered: