Results 1 to 6 of 6

NGINX - can anyone confirm please

This is a discussion on NGINX - can anyone confirm please within the General Discussion forums, part of the vBulletin SEO Discussion category; Hi I am looking for the latest NGINX VBSEO config lines. With the IF-IS-EVIL in mind. Has vbseo been updated ...

  1. #1
    Member
    Real Name
    Mick
    Join Date
    Jun 2006
    Posts
    40
    Liked
    0 times

    NGINX - can anyone confirm please

    Hi I am looking for the latest NGINX VBSEO config lines.

    With the IF-IS-EVIL in mind.

    Has vbseo been updated for the latest nginx.conf lines ?

    Would be really good if we had the rewrites without the IF's

    Thanks very much

    Mick

  2. #2
    vBSEO Staff Andrés Durán Hewitt's Avatar
    Real Name
    Andrés Durán
    Join Date
    Jul 2009
    Location
    Costa Rica
    Posts
    3,393
    Liked
    411 times
    Blog Entries
    1
    Hi Mick,

    vBSEO comes equipped with a custom ruleset for NGINX that does work just fine on setups of our customers, these rules are ready to use right out of the box.

    If any problem arises, we will be glad to assist.
    Andrés Durán / Crawlability Inc.
    ˇvBSEO 3.6.0 GOLD Liberado!
    Inaugurando el NUEVO vBSEO Sitemap Generator 3.0. - ˇAHORA disponible para Clientes de vBSEO!

    Síguenos en: Facebook | Síguenos en: Twitter


  3. #3
    Member
    Real Name
    Mick
    Join Date
    Jun 2006
    Posts
    40
    Liked
    0 times
    Are these the rules?

    Code:
     if ($request_filename ~ "\.php$" ) {
     rewrite ^/(.*)$ /vbseo.php break;
     }
     if (!-e $request_filename) {
     rewrite ^/(.*)$ /vbseo.php break;
     }
    If you was to speak igor Sysoev about them rules he would tell you that they are evil

    IfIsEvil

    Should I post this to the nginx mailing list ?

    I just thought it would be good practice for your users to use the best coding practices at all levels.

    Regards
    Mick

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,744
    Liked
    168 times
    Hello,

    nginx rewrite rules included in vBSEO package are using try_files.

  5. #5
    Member
    Real Name
    Mick
    Join Date
    Jun 2006
    Posts
    40
    Liked
    0 times
    That is Great!!!

    One thing though, How would you apply that configuration if your forum was your main site... allot of sites now do not have the site in the forums directory they have the root directory set to forum/s.

    Thank you very much for your time.

    Mick

  6. #6
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,789
    Liked
    657 times
    Blog Entries
    2
    replace
    /forums/

    with

    /

    in all instances.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •