Welcome! Log In Create A New Profile

Advanced

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

Reinis Rozitis
August 06, 2018 04:04AM
> I tried rewrite tag, and tried giving alias inside the location block, both didn't work. The thing is if I remove the /v11/ from the location tag and the URL, its working without any issues What is the right way to do this?


The try_files needs probably be changed to:

try_files $uri $uri/ /v11/index.php?$query_string;


rr

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

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

Plato Puthur August 05, 2018 04:06PM

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

Reinis Rozitis August 06, 2018 04:04AM

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

Plato Puthur August 06, 2018 11:32AM

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

Reinis Rozitis August 07, 2018 07:30AM

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

Plato Puthur August 08, 2018 04:32AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 242
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready