Re: nginx, php7.0-fpm and laravel, not able to set it up when the url has a prefix which the server doesn't have

2018-08-08 Thread Plato Puthur
Hi, Thanks for replying. I have 3 containers, one with nginx, another 2 containers with php-fpm on them. Both php-fpm are sharing a volume mounted from local system, but on separate paths. The php-fpm container files are serving as api webservices. Both are having different set of files, but the pa

Re: nginx, php7.0-fpm and laravel, not able to set it up when the url has a prefix which the server doesn't have

2018-08-06 Thread Plato Puthur
Hello, Thanks for that input, I changed my config like you said and also set the fastcgi_param SCRIPT_FILENAME to /path/to/the/index.php; But I feel like this should be done by the rewrite directive instead of this way. Now that this is working, can someone please tell me if I can use the rewrite

nginx, php7.0-fpm and laravel, not able to set it up when the url has a prefix which the server doesn't have

2018-08-05 Thread Plato Puthur
Hello I am trying to set up a laravel installation in docker with php-fpm and nginx server on a separate container. The issue is the laravel is installed in a path like /home/apps/foo and the url I need is abcd.com/v11/. I thought this was fairly simple, but I am not able to set it up. Here is my