vHost apache pour vCenter

<VirtualHost *:80>
	ServerName __monserveurname__

	RewriteEngine On
	RewriteCond %{HTTPS} off
	RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge
	RewriteRule ^(.*)$ https://%{HTTP_HOST}$1 [R=301,L]

	TransferLog ${APACHE_LOG_DIR}/error.log
	ErrorLog ${APACHE_LOG_DIR}/access.log
</VirtualHost>
<IfModule mod_ssl.c>
	<VirtualHost *:443>
		ServerName __monserveurname__

		SSLEngine on
		SSLCertificateFile /__votre SSL __crt
		SSLCertificateKeyFile /__votre SSL __.key

		SSLProxyEngine On
		SSLProxyVerify none
		SSLProxyCheckPeerCN Off
		SSLProxyCheckPeerName Off

		ProxyPass / https://__FQDN ou IP__/
		ProxyPassReverse / https://__FQDN ou IP__/

		RewriteEngine On
		RewriteCond %{REQUEST_URI} ^/ticket [NC,OR]
		RewriteCond %{HTTP:UPGRADE} ^WebSocket$ [NC,OR]
		RewriteCond %{HTTP:CONNECTION} ^Upgrade$ [NC]
		RewriteRule .* wss://__FQDN ou IP__%{REQUEST_URI} [P,QSA,L]
		RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
		RewriteRule .* https://__FQDN ou IP__%{REQUEST_URI} [P,QSA,L]

		TransferLog ${APACHE_LOG_DIR}/access.log
		ErrorLog ${APACHE_LOG_DIR}/error.log
	</VirtualHost>
</IfModule>