MyBB Community Forums
Nginx server setup - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: Installation and Upgrades Support (https://community.mybb.com/forum-182.html)
+--- Thread: Nginx server setup (/thread-190224.html)



Nginx server setup - Sparknodes - 2016-03-28

Hi guys,

I ran mybb on an old website some time ago, however we were using apache. Now I have a new server which is on nginx, should that cause any problems or anything special I have to take care of?  Confused


RE: Nginx server setup - Donald_Duck - 2016-03-28

Absolute no problem on nginx, apache...

The only thing to care about is plugins, some plugins support apache server and show undesired working on nginx, one example is google seo plugin.


RE: Nginx server setup - Sparknodes - 2016-03-28

Okay I see, I guess they will mention this in the Plugins?..

Thanks Smile


RE: Nginx server setup - Donald_Duck - 2016-03-28

Nginx is a server like Apache, not many plugin author will mention server compatibility except in very rare scenarios. But you are good to use nginx because almost 98 % plugins will support this server Smile Good luck..


RE: Nginx server setup - Euan T - 2016-03-28

The only issue you might have is that nginx doesn't support .htaccess files, so you'll have to add rewrite rules to your ghost configuration if you wish to use "pretty" URLs.


RE: Nginx server setup - Sparknodes - 2016-03-29

Cool, thank you Euan.

You can follow the status on https://ollygames.com - will try to get it done next week.

Thank you all for the support.


RE: Nginx server setup - Euan T - 2016-03-29

On the topic of the rewrites, this guide from frostschutz should help: http://community.mybb.com/thread-51764.html


RE: Nginx server setup - Sparknodes - 2016-03-30

(2016-03-29, 01:48 PM)Euan T Wrote: On the topic of the rewrites, this guide from frostschutz should help: http://community.mybb.com/thread-51764.html

Thx ! that sure helps me Smile


RE: Nginx server setup - Destroy666 - 2016-04-01

There's also an exemplary Nginx file in the package: https://github.com/mybb/mybb/blob/feature/htaccess-nginx.txt