This is a migrated thread and some comments may be shown as answers.

web resource reverse proxy problem

2 Answers 224 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Oscar
Top achievements
Rank 1
Oscar asked on 20 Oct 2015, 03:46 PM

Hello

we have an application that needs to be put behind a reverse proxy for security reasons. The URLs in the app all need to point to the reverse proxy URLs. However, the URLs for web resources and the dynamically generated JavaScript URLs point to the backend server, so a lot of functionality is broken. We have no possibility to modify reverse proxy rules.

Is there any way to modify or rewrite  the dynamically generated URLs and the web resource URLs ? We tried intervening the page rendering, some stuff works, but a lot of other things do not.

Thanks! 

 

Maximilian
Top achievements
Rank 1
commented on 24 Mar 2025, 08:06 PM

I have the same issue, is there a resolution for this in 2025?

2 Answers, 1 is accepted

Sort by
0
Marin Bratanov
Telerik team
answered on 21 Oct 2015, 08:43 AM

Hi Oscar,

For our controls to work, all requests must return successfully. There is no built-in way of using proxies, especially for WebResource requests. Generally, the webresource requests should be excluded from the proxy configuration if possible.

In your case, what I can suggest is using the CDNs (for scripts, for skins and the built-in MS AJAX CDN) as much as possible to reduce the number of webresoruce requests to the absolute minimum. Note that some controls require webresources for other purposes - dialogs, spell checking, file upload and this cannot be avoided, so such features will not work for your setup.

Regards,

Marin Bratanov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
Rumen
Telerik team
answered on 25 Mar 2025, 09:38 AM

Hi Maximilian,

While there's still no built-in support for full reverse proxy scenarios where WebResource and script URLs are rewritten automatically, Marin's suggestion to use CDNs remains valid.

In particular, it's worth mentioning that you can configure a custom CDN provider that points to a local or internal server — including the same server hosting your application. This can help route WebResource and script requests correctly through the reverse proxy. You can find more info in our documentation here:

This approach allows better control over how scripts and resources are served, and can significantly reduce issues caused by proxy URL mismatches.

Let us know if you need help setting this up!

Regards,
Rumen
Progress Telerik

Enjoyed our products? Share your experience on G2 and receive a $25 Amazon gift card for a limited time!

Tags
General Discussions
Asked by
Oscar
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Rumen
Telerik team
Share this question
or