• Azam

    (@azaminfo)


    We are using a shared hosting package with Litespeed. Our WordPress blog is using Cloudflare CDN.

    Many settings in this plugin ask us to edit the “configuration file” e.g.

    “Browser caching rules
    Open the configuration file of your domain and add the following rules:

    location ~* \.(xml)$ { expires -1; }
    location /robots.txt { expires -1; }

    Save and restart Nginx.”

    Which file do we edit? Where do we add these rules?

    I must say this plugin is one of the most confusing we’ve used in a very long time. It needs much clearer instructions for the configuration settings.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • nicoter

    (@nicoter)

    Litespeed has nothing to so with Nginx, thus the Nginx settings don’t apply to Litespeed. As far as I know Litespeed works with .htaccess just like Apache.

    Plugin Contributor iSaumya

    (@isaumya)

    Hi @azaminfo,
    As @nicoter pointed out if you are using a Litespeed server there is nothing to do with nginx config. Litespeed server works with .htaccess file. I think the only reason you are seeing the nginx instruction is that your host uses litespeed over nginx proxy.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Nginx Settings configuration file – where? how?’ is closed to new replies.