PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

Nginx .conf rules

s2Member Plugin. A Membership plugin for WordPress®.

Nginx .conf rules

Postby jongsmith » January 16th, 2012, 2:27 pm

I would like to use this plugin on my site which is hosted with Nginx. Does anyone have any standard rewrite rules for an Nginx .conf file to replace the Apache .htaccess mod_rewrite rules?

Many thanks,
Jon
User avatar
jongsmith
Registered User
Registered User
 
Posts: 1
Joined: January 14, 2012

Re: Nginx .conf rules

Postby Raam Dev » January 19th, 2012, 10:34 pm

Hi Jon,

There are no mod_rewrite rules required by s2Member by default. As long as you have WordPress running, you should be good to go.

That said, if you do need to add rewrites, they can go into the server{} section of your nginx configuration. A quick read of this page will help you figure out how to translate mod_rewrite directives to nginx's HTTP rewrite module syntax.

http://wiki.nginx.org/NginxHttpRewriteModule
Raam Dev || Wherever you are, be there. || Please rate s2Member!
User avatar
Raam Dev
Developer
Developer
 
Posts: 810
Joined: October 26, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: Google [Bot] and 2 guests

cron