AreaScoutsDeveloper
Joined
Activity
ive put tips on the try_files.
try_files $uri $uri/ /tips/index.php?$args;
and now display me a file not found.
Hi sir, i tried your code. but still not fixed. this is the code that i used.
it always go to rails 404 page
location /tips {
root /var/www/html/tips;
try_files $uri $uri/ /index.php?$args;
location ~ .php$ {
fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
}
ok sir i will try this. thanks
Hi sir,
Did anyone tried to setup rails app with alongwith wordpress blog and using capistrano, passenger and nginx setup? This will happen on the same server and the wordpress blog would be put on the public folder of rails. Actually, ive successfully setup the rails app with capistrano passenger nginx. The only i struggle here is when i tried to put the wordpress, maybe my nginx config is not right.
This what like happen.
mywebsite.com/blog
mywebsite.com - rails app
/blog - wordpress app
Thank you in advance, if someone can help me. 🙂