Announcement

Collapse
No announcement yet.

Please update the NGINX configuration

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Please update the NGINX configuration

    In vBulletin 5.3.4 you have optimized the .htaccess.
    Sadly the nginx config found here https://www.vbulletin.com/docs/html/...arefiles_nginx does not include those changes.
    Please keep this up to date because nginx is becoming as popular as Apache.

    Thanks!

  • #2
    We didn't change the rewrites in 5.3.4. We added a few lines to prevent access to files that may be a security risk if they are present. Outside of the config files, vBulletin doesn't actually have any of the files listed in its default package. The change was made because customers often store database backups and other files in their vBulletin directory, even though we caution against that behavior.

    The two lines added are:
    Code:
    #don't allow some files that shouldn't really be present to be directly accessed.
    #note that attachements should never be directly accessed by the webserver because
    #we have permissions on the that are checked in the PHP code.
    <FilesMatch "(^#.*#|\.(bak|config|dist|inc|ini|log|gz|tar|zip|sh|sql|sw[op])|~)$">
        Order allow,deny
        Deny from all
        Satisfy All
    </FilesMatch>
    Nothing else was changed. I don't know how to convert these to NGINX.
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud customization and demonstration site.
    vBulletin 5 Documentation - Updated every Friday. Report issues here.
    vBulletin 5 API - Full / Mobile
    Vote for your most annoying bugs.
    I am not currently available for vB Messenger Chats.

    Comment

    Working...
    X