Hi,
On Mon, Oct 10, 2016, at 15:50, Nurahmadie Nurahmadie wrote:
> > >
> > > Still need more locations, but independent to directories you want to
> > > access:
> > >
> > >
> > > server {
> > > listen 7770;
> > > root /tmp;
> > > autoindex on;
> > >
Hi,
On Mon, Oct 10, 2016 at 1:39 PM, Edho Arief wrote:
> Hi,
>
> On Mon, Oct 10, 2016, at 15:29, Nurahmadie Nurahmadie wrote:
> > Hi
> >
> > > On Mon, Oct 10, 2016, at 15:08, Edho Arief wrote:
> > > > Hi,
> > > >
> > > > On Mon, Oct 10, 2016, at 12:56, Edho Arief wrote:
> > > > > I somehow can't
Hi,
On Mon, Oct 10, 2016, at 15:29, Nurahmadie Nurahmadie wrote:
> Hi
>
> > On Mon, Oct 10, 2016, at 15:08, Edho Arief wrote:
> > > Hi,
> > >
> > > On Mon, Oct 10, 2016, at 12:56, Edho Arief wrote:
> > > > I somehow can't make this scenario work:
> > > >
> > > > root structure:
> > > > /a/index.h
Hi
On Mon, Oct 10, 2016 at 1:19 PM, Edho Arief wrote:
> Made a bit more compact but still using ifs.
>
> location / {
> location ~ /$ {
> error_page 418 = @dirlist;
>
> if (-d $request_filename) {
> set $index_fallback A;
> }
>
> if (!-f $request_f
Hi,
On Mon, Oct 10, 2016, at 15:23, Francis Daly wrote:
> On Mon, Oct 10, 2016 at 12:56:57PM +0900, Edho Arief wrote:
>
> Hi there,
>
> untested, but...
>
> > accessing:
> > 1. site.com/a -> redirect to site.com/a/ -> show /a/index.html
> > 2. site.com/b -> redirect to site.com/b/ -> show @fall
On Mon, Oct 10, 2016 at 12:56:57PM +0900, Edho Arief wrote:
Hi there,
untested, but...
> accessing:
> 1. site.com/a -> redirect to site.com/a/ -> show /a/index.html
> 2. site.com/b -> redirect to site.com/b/ -> show @fallback
> As a side note,
>
> error_page 404 = @fallback;
>
> Wouldn't work
Made a bit more compact but still using ifs.
location / {
location ~ /$ {
error_page 418 = @dirlist;
if (-d $request_filename) {
set $index_fallback A;
}
if (!-f $request_filename/index.html) {
set $index_fallback "${index_fallback}B";
Hi,
On Mon, Oct 10, 2016, at 12:56, Edho Arief wrote:
> I somehow can't make this scenario work:
>
> root structure:
> /a/index.html
> /b/ <-- no index.html
>
> accessing:
> 1. site.com/a -> redirect to site.com/a/ -> show /a/index.html
> 2. site.com/b -> redirect to site.com/b/ -> show @fallbac
I somehow can't make this scenario work:
root structure:
/a/index.html
/b/ <-- no index.html
accessing:
1. site.com/a -> redirect to site.com/a/ -> show /a/index.html
2. site.com/b -> redirect to site.com/b/ -> show @fallback
Using
try_files $uri $uri/index.html @fallback;
doesn't work quite
On Sun, Oct 09, 2016 at 12:50:50PM -0400, mrast wrote:
Hi there,
> I have no problem sharing the config files - ill just sanitize the actual
> websites. But everything else is 100% as is.
Thanks for this - it does give more information about what is happening.
A few notes, with the order switch
Hi Francis,
Its a brand new server setup.
I have no problem sharing the config files - ill just sanitize the actual
websites. But everything else is 100% as is.
Here is the full nginx.conf file from /etc/nginx
cat /etc/nginx/nginx.conf
user www-data;
worker_processes 1;
worker_rlimit_nofile 10
On Fri, Oct 07, 2016 at 03:47:47PM -0400, yurai wrote:
Hi there,
> Unfortunately still it doesn't work as I expect - upload.txt file content is
> not saved on server side in /tmp/nginx-client-body.
Oh. Why do you expect that?
I would only expect that to happen if I send the upload.txt file cont
On Fri, Oct 07, 2016 at 10:20:51AM -0400, mrast wrote:
Hi there,
There are many ways that you might have configured things. Only you
know the one way that you have configured things. Until you share that,
there is not much that others can do.
> If i remove the /phpmyadmin section from website1 c
13 matches
Mail list logo