T
T
Troodi Larson2020-12-25 21:46:06
Nginx
Troodi Larson, 2020-12-25 21:46:06

Proxying an iframe via nginx to edit it via JS?

Hello! An interesting question:
You can edit iframe elements if only CORS allows, an external site. Is it possible to proxy an external site through nginx and set up a policy through nginx in such a way that it is possible to edit the iframe, but there would be the content of the external site.

Something like this:
my site -> iframe -> proxy <-> example.com

Or will there be problems with the iframe in this case?

PS I want to translate the contents of the iframe into another language, there is some information there.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question