dandv said:
I found that the nginx config setup for MyBB worked with Vanilla out of the box, no modifications required. nginx 1.0.4 on Ubuntu 11.
It's not true. Doesn't work at all.
rlaskey said:
Here's the way I was able to tackle nginx w/ Vanilla:location /forum {try_files $uri $uri/ @forum;}
location @forum {rewrite ^/forum(.+)$ /forum/index.php?p=$1 last;}
It's better not to use if statements ( http://wiki.nginx.org/IfIsEvil ), and the @ syntax provides for named locations, which is useful for having systems not in the root path, etc. Short and sweet.
Links Logout, SignIn, all social connects are broken with 403 Forbidden.
Please give somebody really working NGINX rewrites for lasted version of Vanilla!!!
Comments
[Penny Arcade] Todd commented on your bookmarked discussion.
Todd commented on your bookmarked discussion.
[Vanilla on Nginx]
Test @Soviet Simplex
---
Follow the link below to check it out:
http://vanilla.local/discussion/comment/140660#Comment_140660
He surely made a copy of the production database, then doing local test.
It's not true. Doesn't work at all.
Links Logout, SignIn, all social connects are broken with 403 Forbidden.
Please give somebody really working NGINX rewrites for lasted version of Vanilla!!!
@neolo: Did you do that ?:
>
>
>
As this very forum (vf.org) is ran off nginx, it does work for sure
Vanilla Forums COO [GitHub, Twitter, About.me]
@Neolo
Vanilla Forums COO [GitHub, Twitter, About.me]
Thanks but this piece of config is not working for me:
location @site {
rewrite ^ /index.php?p=$uri&$args last;
}
I'm using embedded vanilla on lasted nginx+php-fpm. And seems to be I forced it to work fine with:
location /discuss {
index index.php;
try_files $uri $uri/ @forum;
}
location @forum {
rewrite ^/discuss(.+)$ /discuss/index.php?p=$1 last;
}
Just last time I tried to use this code, I forgot to define an index page.
Thank you.
@Tim rewrite ^ /index.php?p=$uri&$args last; Works.