|
@@ -1,11 +1,11 @@
|
|
|
<VirtualHost *:80>
|
|
|
- ServerName {{ ansible_hostname }}
|
|
|
+ ServerName {{ inventory_hostname }}
|
|
|
DocumentRoot /var/www/worker
|
|
|
|
|
|
ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:4001/var/www/worker/$1
|
|
|
|
|
|
DirectoryIndex index.php index.xhtml index.html
|
|
|
|
|
|
- ErrorLog ${APACHE_LOG_DIR}/worker_{{ ansible_hostname }}.error.log
|
|
|
- CustomLog ${APACHE_LOG_DIR}/worker_{{ ansible_hostname }}.access.log combined
|
|
|
+ ErrorLog ${APACHE_LOG_DIR}/worker_{{ inventory_hostname }}.error.log
|
|
|
+ CustomLog ${APACHE_LOG_DIR}/worker_{{ inventory_hostname }}.access.log combined
|
|
|
</VirtualHost>
|