Sha256: f96145988c9b6f26a66b62be306ff40fae219010b9ca8c8201884c66a44269bf

Contents?: true

Size: 342 Bytes

Versions: 2

Compression:

Stored size: 342 Bytes

Contents

require File.join(File.dirname(__FILE__), "base")

module Wellcar
  module Templates
    class ReverseProxyConf < Base
      def initialize(domain_name)
        super "reverse-proxy.conf"
        with_attributes domain_name: domain_name
        with_template "reverse-proxy.conf.erb"
        within "config/nginx"
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wellcar-0.0.3 lib/wellcar/templates/reverse_proxy_conf.rb
wellcar-0.0.2 lib/wellcar/templates/reverse_proxy_conf.rb