Fixup logstash vhost template to use @global vars
Change-Id: Ie1564aa338bf5f9c2d155da68cdb6cb8a43a9b55
This commit is contained in:
parent
c66446aa33
commit
cfd2031844
@ -1,12 +1,12 @@
|
||||
<VirtualHost <%= scope.lookupvar("::logstash::web::vhost_name") %>:80>
|
||||
ServerName <%= scope.lookupvar("::logstash::web::vhost_name") %>
|
||||
ServerAdmin <%= scope.lookupvar("::logstash::web::serveradmin") %>
|
||||
<VirtualHost <%= @vhost_name %>:80>
|
||||
ServerName <%= @vhost_name %>
|
||||
ServerAdmin <%= @serveradmin %>
|
||||
|
||||
ErrorLog ${APACHE_LOG_DIR}/<%= scope.lookupvar("::logstash::web::vhost_name") %>-error.log
|
||||
ErrorLog ${APACHE_LOG_DIR}/<%= @vhost_name %>-error.log
|
||||
|
||||
LogLevel warn
|
||||
|
||||
CustomLog ${APACHE_LOG_DIR}/<%= scope.lookupvar("::logstash::web::vhost_name") %>-access.log combined
|
||||
CustomLog ${APACHE_LOG_DIR}/<%= @vhost_name %>-access.log combined
|
||||
|
||||
ProxyPass / http://127.0.0.1:9292/ retry=0
|
||||
ProxyPassReverse / http://127.0.0.1:9292/
|
||||
|
Loading…
x
Reference in New Issue
Block a user