2.4.1.1.4. Static files

The hosting uses a bundle of nginx and Apache servers. The nginx server handles requests for static content and redirects requests for dynamic content to the Apache server.

The extensions of static files processed by the nginx server are specified site settings in field «Static files»:

If it is required that directives from .htaccess or these files were not given directly, but, for example, were generated by site scripts, then you need delete extensions of these files from the list of static ones so that requests reach the Apache server. The changes take approximately 10-15 minutes to take effect.

It should be borne in mind that serving static files by the Apache server instead of nginx can negatively affect the total load on the web server created by the hosting account. Since nginx is faster, it is recommended that static files be served to them rather than the slower Apache server.

Content