Re: Suppression de l’extension

2018-07-24 Thread --
Hello It works with : > rewrite ^(/.*)\.html https://$host/$1 permanent; Thank you :) Envoyé de mon iPhone > Le 24 juil. 2018 à 08:49, Aleksandar Lazic a écrit : > > Hi. > >> On 20/07/2018 11:16, -- wrote: >> Hello, >> >> In fact I just want the display of the .html extension on my

Re: Suppression de l’extension

2018-07-24 Thread Aleksandar Lazic
Hi. On 20/07/2018 11:16, -- wrote: Hello, In fact I just want the display of the .html extension on my site no longer displayed I use haproxy with Nginx, I can make url rewrite with Nginx that works well: server { rewrite ^(/.*)\.html(\?.*)?$ $1$2 permanent; How about to use this in the

Re: Suppression de l’extension

2018-07-20 Thread --
Hello, In fact I just want the display of the .html extension on my site no longer displayed I use haproxy with Nginx, I can make url rewrite with Nginx that works well: server { rewrite ^(/.*)\.html(\?.*)?$ $1$2 permanent; index index.html; try_files $uri.html $uri/ $uri =404; }

Re: Suppression de l’extension

2018-07-19 Thread Aleksandar Lazic
Hi. On 19/07/2018 15:09, -- wrote: Hello, Je souhaite supprimer l’extension présentée par mon serveur nginx mais depuis Haproxy Type A.com/index.html en A.com/index Est ce possible ? Maybe, but please can you ask in English, thanks. But let me try to interpret you question. reqrep ^([^\

Suppression de l’extension

2018-07-19 Thread --
Hello, Je souhaite supprimer l’extension présentée par mon serveur nginx mais depuis Haproxy Type A.com/index.html en A.com/index Est ce possible ? Merci Envoyé de mon iPhone