How to serve some file types from Apache instead from nginx

Post Reply
User avatar
Posts: 39
Joined: Mon Jul 19, 2021 1:41 am

Due to the fact that myVesta is hosted on Apache, and nginx is used as a reverse proxy, this tweak might be helpful in some cases.

Reverse proxy servers sit in front of web servers and receive all requests before sending them to the origin server. It works much like a forward proxy, but here rather than a user or client, it's the web server that uses it. Typically, reverse proxies are used to improve the performance, security, and reliability of web servers.

So now when we went through this intro to get a deeper understanding of what's happening under the hood we can proceed further.

Let's suppose that you want Apache to handle all XML files instead of nginx doing it on your site at, to achieve this go to your myVesta hosting panel and select Edit for this particular domain:

ss1.png (39.08 KiB) Viewed 254 times

Under Proxy Support / Proxy Extensions you would delete XML from the list:

ss2.png (20.15 KiB) Viewed 252 times

After that, all you have to do is to Save those changes, and you are done

ss3.png (3.1 KiB) Viewed 256 times

Now all XML files will be served from Apache instead from nginx

Post Reply