Class: Wellcar::Templates::ReverseProxyConf
- Defined in:
- lib/wellcar/templates/reverse_proxy_conf.rb
Instance Method Summary collapse
-
#initialize(domain_name) ⇒ ReverseProxyConf
constructor
A new instance of ReverseProxyConf.
Methods inherited from Base
Constructor Details
#initialize(domain_name) ⇒ ReverseProxyConf
Returns a new instance of ReverseProxyConf.
6 7 8 9 10 11 |
# File 'lib/wellcar/templates/reverse_proxy_conf.rb', line 6 def initialize(domain_name) super "reverse-proxy.conf" with_attributes domain_name: domain_name with_template "reverse-proxy.conf.erb" within "config/nginx" end |