A long time ago, I needed to make a server run PHP with CakePHP / Laravel and Ruby with Rails, at the same time. I’m usually using Debian and NGINX on every server I configure, and then it came that challenge of configuring the rewrite for running a project on a subfolder.
Continue reading “NGINX rewrite for Rails”
This week I needed to install LimeSurvey on a subfolder of a Debian 8 server, that is running NGINX. As always, the biggest problem is preparing the right rewrite.
Continue reading “NGINX Rewrite for LimeSurvey”
When I started to learn NGINX virtual host configurations, I had a problem to write a location. I was accessing an address and was always getting 404 error. It was when I discovered that there was ROOT and ALIAS directives.
Continue reading “Difference between root and alias on NGINX”
Recently I’ve found a new PHP framework, the Laravel (http://laravel.com/). I bought a book about it (https://leanpub.com/codebright), that by the way it’s excellent, and went to study to use Laravel on a new project.
As always, my first challenge is doing a functional configuration on NGINX, to make Laravel running straight, and as CakePHP and WordPress, it comes with .htaccess ready for Apache. The book shows a configuration to a project that is based on the root of a webserver, but I put all my projects on subfolders on the VM that I use to develop, so it’s not the same thing as the book shows.
Continue reading “NGINX Rewrite for Laravel”
I needed to install a Moodle 2.3.2 on a Debian that runs NGINX and PHP-FPM.
Continue reading “NGINX rewrite for Moodle”