651016236 edited a comment on issue #5164:
URL: https://github.com/apache/apisix/issues/5164#issuecomment-932971369
I check the source code has solved the problem
plugin.lua
```
if ngx.config.subsystem == "http" then
if not http_plugin_names then
core.log.error("failed to read plugin list from local file")
else
local ok, err = load(http_plugin_names)
if not ok then
core.log.error("failed to load plugins: ", err)
end
end
end
```
nginx_tpl.lua
```
{% if not (stream_proxy and stream_proxy.only ~= false) then %}
http {
# put extra_lua_path in front of the builtin path
# so user can override the source code
```
stream_proxy config Modify to
```
stream_proxy:
only: false # Allow http and stream to co-exist
tcp:
- 9100
- "127.0.0.1:9101"
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]