example - proxy balancer apache
cómo configurar el servidor apache para hablar con el servidor back-end HTTPS? (1)
Su servidor le dice exactamente lo que necesita: [Hint: SSLProxyEngine]
Debe agregar esa directiva a su VirtualHost
antes de las directivas Proxy
:
SSLProxyEngine on
ProxyPass /primary/store https://localhost:9763/store/
ProxyPassReverse /primary/store https://localhost:9763/store/
Configuré el servidor apache como un proxy inverso y funciona bien si apunto a un servidor back-end como HTTP. Es decir:
Configuré el host virtual 443 como:
ProxyPass /primary/store http://localhost:9763/store/
ProxyPassReverse /primary/store http://localhost:9763/store/
Aquí los usuarios tendrán acceso al servidor como https://localhost/primary/store
Y esto funciona bien ... Pero quiero configurar un servidor HTTP como;
ProxyPass /primary/store https://localhost:9443/store/
ProxyPassReverse /primary/store https://localhost:9443/store/
Cuando configuro el servidor apache me da 500 error de servidor interno. ¿Qué estoy haciendo mal aquí?
El error que recibo es:
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
En el registro de errores de apache, indica;
nt: SSLProxyEngine]
[Mon Aug 04 00:03:26 2014] [error] proxy: HTTPS: failed to enable ssl support for [::1]:9443 (localhost)
[Mon Aug 04 00:03:31 2014] [error] [client ::1] SSL Proxy requested for localhost:443 but not enabled [Hint: SSLProxyEngine]
[Mon Aug 04 00:03:31 2014] [error] proxy: HTTPS: failed to enable ssl support for [::1]:9443 (localhost)
[Mon Aug 04 00:03:51 2014] [error] [client ::1] SSL Proxy requested for localhost:443 but not enabled [Hint: SSLProxyEngine]
[Mon Aug 04 00:03:51 2014] [error] proxy: HTTPS: failed to enable ssl support for [::1]:9443 (localhost)
¿Cómo configurar el servidor http para hablar con el servidor HTTPS?