651016236 commented on issue #5164:
URL: https://github.com/apache/apisix/issues/5164#issuecomment-932971369
I check the source code has solved the problem
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]