Browse Source

[mod_proxy] proxy.replace-http-host enable/disable

mark directive as taking boolean value, not integer value
personal/stbuehler/mod-csrf
Glenn Strauss 5 years ago
parent
commit
2ca402c64d
  1. 2
      src/mod_proxy.c

2
src/mod_proxy.c

@ -192,7 +192,7 @@ SETDEFAULTS_FUNC(mod_proxy_set_defaults) {
{ "proxy.server", NULL, T_CONFIG_LOCAL, T_CONFIG_SCOPE_CONNECTION }, /* 0 */
{ "proxy.debug", NULL, T_CONFIG_SHORT, T_CONFIG_SCOPE_CONNECTION }, /* 1 */
{ "proxy.balance", NULL, T_CONFIG_STRING, T_CONFIG_SCOPE_CONNECTION }, /* 2 */
{ "proxy.replace-http-host", NULL, T_CONFIG_SHORT, T_CONFIG_SCOPE_CONNECTION }, /* 3 */
{ "proxy.replace-http-host", NULL, T_CONFIG_BOOLEAN, T_CONFIG_SCOPE_CONNECTION }, /* 3 */
{ NULL, NULL, T_CONFIG_UNSET, T_CONFIG_SCOPE_UNSET }
};

Loading…
Cancel
Save