 a692810ef0
			
		
	
	a692810ef0
	
	
	
		
			
			Add templates for running Heat API services via apache mod_wsgi. Also add appropriate functions to lib/heat for configuring Heat. Change-Id: I1bdd678c44ddfa616a9db7db85ff6f490ff08947
		
			
				
	
	
		
			28 lines
		
	
	
		
			742 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
		
			742 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| Listen %PUBLICPORT%
 | |
| 
 | |
| <VirtualHost *:%PUBLICPORT%>
 | |
|     WSGIDaemonProcess heat-api processes=3 threads=1 user=%USER% display-name=%{GROUP} %VIRTUALENV%
 | |
|     WSGIProcessGroup heat-api
 | |
|     WSGIScriptAlias / %HEAT_BIN_DIR%/heat-wsgi-api
 | |
|     WSGIApplicationGroup %{GLOBAL}
 | |
|     WSGIPassAuthorization On
 | |
|     AllowEncodedSlashes On
 | |
|     <IfVersion >= 2.4>
 | |
|       ErrorLogFormat "%{cu}t %M"
 | |
|     </IfVersion>
 | |
|     ErrorLog /var/log/%APACHE_NAME%/heat-api.log
 | |
|     %SSLENGINE%
 | |
|     %SSLCERTFILE%
 | |
|     %SSLKEYFILE%
 | |
| 
 | |
|     <Directory %HEAT_BIN_DIR%>
 | |
|         <IfVersion >= 2.4>
 | |
|             Require all granted
 | |
|         </IfVersion>
 | |
|         <IfVersion < 2.4>
 | |
|             Order allow,deny
 | |
|             Allow from all
 | |
|         </IfVersion>
 | |
|     </Directory>
 | |
| </VirtualHost>
 |