Skip to content

Commit

Permalink
Add support for allow and deny directive on streamhost
Browse files Browse the repository at this point in the history
  • Loading branch information
lkck24 committed Dec 18, 2024
1 parent 8ee1837 commit 5ef6e87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/streamhost/streamhost.erb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ server {
<%- unless @resolver.empty? -%>
resolver <% @resolver.each do |res| %> <%= res %><% end %>;
<%- end -%>

zzz
<% if @allow -%>
<%- @allow.flatten.uniq.each do |allow_rule| -%>
allow <%= allow_rule %>;
Expand Down

0 comments on commit 5ef6e87

Please sign in to comment.