Sha256: e01647d1d80a10686cfbdc06199dc6e0ad772bfa1cda079fd4ec6f0bf2e277ad
Contents?: true
Size: 453 Bytes
Versions: 70
Compression:
Stored size: 453 Bytes
Contents
# Check domains on port 80 <%= "(and 443 if ssl is on)" if fetch(:nginx_use_ssl) %> for <%= fetch(:application) %> [<%= fetch(:stage) %>] <% Array(fetch(:nginx_domains)).each do |domain| %> <% domain = domain.gsub(/^\*?\./, "") %> check host <%= domain %> with address <%= fetch(:app_server_ip) %> if failed port 80 protocol http then alert # <% if fetch(:nginx_use_ssl) %>if failed port 443 type TCPSSL protocol http then alert<% end %> <% end %>
Version data entries
70 entries across 70 versions & 1 rubygems