linux:web:apache.mod_proxy
Diferencias
Muestra las diferencias entre dos versiones de la página.
| Próxima revisión | Revisión previa | ||
| linux:web:apache.mod_proxy [2020/06/26 17:53] – creado grillo | linux:web:apache.mod_proxy [2024/10/09 12:57] (actual) – editor externo 127.0.0.1 | ||
|---|---|---|---|
| Línea 13: | Línea 13: | ||
| One of the things you can do is indeed ping, according to the docs will check the backend before send any request. Consider of course the overhead that produces. | One of the things you can do is indeed ping, according to the docs will check the backend before send any request. Consider of course the overhead that produces. | ||
| + | |||
| + | ## mod_proxy UTF-8 | ||
| + | |||
| + | agregar nocanon al ProxyPass para que no rompa los acentos en la URI | ||
| + | ``` | ||
| + | < | ||
| + | Include / | ||
| + | |||
| + | # agregar nocanon para que no rompa los acentos en la URI | ||
| + | ProxyPass balancer:// | ||
| + | ProxyPassReverse balancer:// | ||
| + | </ | ||
| + | ``` | ||
| Línea 33: | Línea 46: | ||
| </ | </ | ||
| ``` | ``` | ||
| + | |||
| + | |||
| + | ## Deshabilitar urls | ||
| + | |||
| + | Cómo evitar que haga proxypass de algunas rutas puntuales | ||
| + | ``` | ||
| + | ProxyPass / | ||
| + | ProxyPass / | ||
| + | ProxyPass / | ||
| + | ProxyPass / | ||
| + | ProxyPass / | ||
| + | ProxyPass / | ||
| + | ProxyPass /update.php ! | ||
| + | ProxyPass / balancer:// | ||
| + | ProxyPassReverse / balancer:// | ||
| + | ``` | ||
| + | |||
| + | Debe estar configurado `ProxyErrorOverride` | ||
| + | ``` | ||
| + | < | ||
| + | ProxyErrorOverride On | ||
| + | </ | ||
| + | ``` | ||
| + | |||
| + | ## Caducar cookies cuando un backend se cae | ||
| + | |||
| + | nofailover: (Off) If set to On, the session will break if the worker is in error state or disabled. Set this value to On if backend servers do not support session replication. | ||
| + | |||
| + | ``` | ||
| + | ProxyPass "/ | ||
| + | ProxyPass "/" | ||
| + | ``` | ||
| + | |||
| + | |||
linux/web/apache.mod_proxy.1593194019.txt.gz · Última modificación: 2020/06/26 17:53 por grillo