On Sun, Aug 28, 2016 at 06:59:45PM +0200, İhsan Doğan wrote:
> On Saturday, 27 Aug 2016 21:50 +0100, Francis Daly wrote:
Hi there,
Edho Arief is correct; what you see is due to the "index" directive and
the subsequent "php" subrequest.
> > What specific test request do you make?
>
> GET /foo/
Hi,
On Mon, Aug 29, 2016, at 01:59, İhsan Doğan wrote:
> Hi,
>
> On Saturday, 27 Aug 2016 21:50 +0100, Francis Daly wrote:
>
> > > I've defined a location alias in my nginx.conf:
> >
> > > location/foo/ {
> > > alias /var/www/foo/;
> > > }
> >
> > > Even the
Hi,
On Saturday, 27 Aug 2016 21:50 +0100, Francis Daly wrote:
> > I've defined a location alias in my nginx.conf:
>
> > location/foo/ {
> > alias /var/www/foo/;
> > }
>
> > Even the directory /var/www/foo exists, Nginx is returns a 404. As I
> > understand,
On Sat, Aug 27, 2016 at 11:18:04PM +0200, Andrew Holway wrote:
Hi there,
> Can you post your full config pls?
==
server {
listen 8080;
server_name x1;
location /foo/ {
alias /var/www/foo/;
}
}
==
curl -v -H Host:x1 http://127.0.0.1:8080/foo/a
gives a 200 with the
Hi Francis,
Can you post your full config pls?
Thanks,
Andrew
On Sat, Aug 27, 2016 at 10:50 PM, Francis Daly wrote:
> On Sat, Aug 27, 2016 at 10:38:27AM +0200, İhsan Doğan wrote:
>
> Hi there,
>
> > I've defined a location alias in my nginx.conf:
>
> > location
On Sat, Aug 27, 2016 at 10:38:27AM +0200, İhsan Doğan wrote:
Hi there,
> I've defined a location alias in my nginx.conf:
> location/foo/ {
> alias /var/www/foo/;
> }
> Even the directory /var/www/foo exists, Nginx is returns a 404. As I
> understand,
Hi,
I've defined a location alias in my nginx.conf:
server {
listen 80;
server_name example.org www.example.org;
[...]
location/foo/ {
alias /var/www/foo/;
}
}
Even the directory /var/www/foo exists, Nginx is