You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
[FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
Please do not modify this template :) and fill in all the required fields.
1. Is this request related to a challenge you're experiencing? Tell me about your story.
I currently want to embed the dify application into the mobile H5 page via iframe, but due to network issues, I have to use a subpath to access it, such as , rewrite src as http://my.com/proxy/dify/chatbot/abcdefg as follows
I then tried to intercept the application's request with nginx and remove the additional paths(proxy/dify). However, an error is default backend-404.
I know there is a high probability of an error because I did not change the src etc inside the iframe. But I don't know any other way to achieve, looking forward to your help
2. Additional context or comments
In my local test, it is normal to request without adding subroutes, but in the simulation of online scenarios, adding subroutes is abnormal
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Self Checks
1. Is this request related to a challenge you're experiencing? Tell me about your story.
I currently want to embed the dify application into the mobile H5 page via iframe, but due to network issues, I have to use a subpath to access it, such as , rewrite src as
http://my.com/proxy/dify/chatbot/abcdefg
as followsI then tried to intercept the application's request with nginx and remove the additional paths(proxy/dify). However, an error is
default backend-404
.I know there is a high probability of an error because I did not change the src etc inside the iframe. But I don't know any other way to achieve, looking forward to your help
2. Additional context or comments
In my local test, it is normal to request without adding subroutes, but in the simulation of online scenarios, adding subroutes is abnormal
nginx by ingress
No response
Beta Was this translation helpful? Give feedback.
All reactions