We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
Flarum
Flarum
Hello, i have installed flarum http://flarum.org/docs/installation/ on my domain
I use VestaCP with nginx php-fpm
Where to put exactly nginx in my nginx.conf file ?
I use VestaCP with nginx php-fpm
Where to put exactly nginx in my nginx.conf file ?
Re: Flarum
discuss.flarum.org don't say anything about this? ;-)
Re: Flarum
Try to use this config and make changes for you or search with google something more suitable:
https://gist.github.com/novomirskoy/309 ... b2ffcf2611
PS: It's not tested by me.
https://gist.github.com/novomirskoy/309 ... b2ffcf2611
PS: It's not tested by me.
Re: Flarum
Hmmm
On Flarum site is config section for nginx: http://flarum.org/docs/installation/
On Flarum site is config section for nginx: http://flarum.org/docs/installation/
Code: Select all
location / { try_files $uri $uri/ /index.php?$query_string; }
location /api { try_files $uri $uri/ /api.php?$query_string; }
location /admin { try_files $uri $uri/ /admin.php?$query_string; }
location /flarum {
deny all;
return 404;
}
location ~* \.php$ {
fastcgi_split_path_info ^(.+.php)(/.+)$;
fastcgi_pass unix:/var/run/php5-fpm.sock;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param HTTP_PROXY ""; # Fix for https://httpoxy.org/ vulnerability
fastcgi_index index.php;
}
location ~* \.html$ {
expires -1;
}
location ~* \.(css|js|gif|jpe?g|png)$ {
expires 1M;
add_header Pragma public;
add_header Cache-Control "public, must-revalidate, proxy-revalidate";
}
Re: Flarum
In the .conf of your vhost, you only change 2 places:
1. at the line
change to
....
2. at the line
change to
Hope it help you!
1. at the line
Code: Select all
root /home/vip/web/vipsedan.vn/public_html;
Code: Select all
root /home/vip/web/vipsedan.vn/public_html/public;
2. at the line
Code: Select all
location / {
Code: Select all
location / {
try_files $uri $uri/ /index.php?$query_string;
Re: Flarum
How can I do it if I want to install flarum to public_html/forum/public ?
Wordpress is installed before and I install flarum to forum subfolder. I guess that I get error if I change nginx file's root line.
Wordpress is installed before and I install flarum to forum subfolder. I guess that I get error if I change nginx file's root line.
Re: Flarum
Sorry but it does not work for me : (saosangmo wrote: ↑Tue Sep 24, 2019 6:59 pmIn the .conf of your vhost, you only change 2 places:
1. at the linechange toCode: Select all
root /home/vip/web/vipsedan.vn/public_html;
....Code: Select all
root /home/vip/web/vipsedan.vn/public_html/public;
2. at the linechange toCode: Select all
location / {
Hope it help you!Code: Select all
location / { try_files $uri $uri/ /index.php?$query_string;