Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#1 2014-08-15 11:26:49

Scafru
New member
Registered: 2014-08-15
Posts: 1

configure nginx for fluxbb

Hello! Help to configure nginx for fluxbb! Here are the rules for apache you need to alter on nginx:

Options -Indexes -ExecCGI

php_flag engine 0

RemoveHandler .phtml .php .php3 .php4 .php5 .php6 .phps .cgi .exe .pl .asp .aspx .shtml .shtm .fcgi .fpl .jsp .htm .html .wml
AddType text/plain .phtml .php .php3 .php4 .php5 .php6 .phps .cgi .exe .pl .asp .aspx .shtml .shtm .fcgi .fpl .jsp .htm .html .wml

<IfModule mod_rewrite.c>

RewriteEngine On

# Uncomment and properly set the RewriteBase if the rewrite rules are not working properly
#RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule .* nofile.gif [L]

</IfModule>

and

<Limit GET POST PUT>
Order Allow,Deny
Deny from All
</Limit>

well, the basic rules for nginx to correctly worked fluxbb

thanks!!!

Offline

#2 2014-08-15 14:41:51

Michael
Member
Registered: 2014-04-05
Posts: 31

Re: configure nginx for fluxbb

Just install and configure a complete LNMP (Linux Nginx Mysql Php). That's all.
For FluxBB do not need to rewrite these rules (from first box).

But for denied access to 'system folders':

location ~ /(cache|include|lang|plugins) {
   deny all;
   return 403;
}

PS Sorry for my English, it's not my mother tongue. I try to do my best, but I'm still making mistakes.

Offline

Board footer

Powered by FluxBB 1.5.7