Jump to content

NGinx Rewrite URL Config


Recommended Posts

Hey Everyone,

I am trying to use the Rewrite URLs? option under SEO but I dont know what I need to put in the nginx site configuration file. I was hoping someone here could help me because IPB Support doesnt offer nginx support. This is what I have inside my config file (just a snip-it) 

        location ~ "/forums/\.(js|css|jpeg|jpg|gif|png|ico|map)(\?|$)" {
            try_files $uri /index.php$is_args$args;
        }

        location /forums/ {
            try_files $uri $uri/ /index.php$is_args$args;
        }

Any help would be greatly appreciated.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Upcoming Events

    No upcoming events found
×
×
  • Create New...