Browse Source

importation des derniers commentaires avant MEP

master
Victor 6 years ago
parent
commit
cd15785a6a
3 changed files with 34 additions and 0 deletions
  1. +9
    -0
      content/comments/configurer-reverse-proxy-haproxy/5.md
  2. +6
    -0
      content/comments/configurer-reverse-proxy-haproxy/6.md
  3. +19
    -0
      content/comments/configurer-reverse-proxy-haproxy/7.md

+ 9
- 0
content/comments/configurer-reverse-proxy-haproxy/5.md View File

@ -0,0 +1,9 @@
email: ravi.gajjar@nexuslinkservices.in
date: 2017-01-18T17:00+01:00
author: Ravi
website:
I'm struck on redirect rule on HAProxy, also post the question on stack exchange but no one answering me as below :
https://unix.stackexchange.com/questions/338238/how-to-redirection-on-haproxy-like-apache2
Here I need to Hide default "app_dev.php" page from URL; Please open above link to get more idea.

+ 6
- 0
content/comments/configurer-reverse-proxy-haproxy/6.md View File

@ -0,0 +1,6 @@
email: salemioche@gmail.com
date: 2017-01-25T09:30+01:00
author: Nicolas
website:
hier soir, besoin des acls pour la première fois... encore merci pour le tuto, fix en prod dans l'urgence passé comme un charme ;-)

+ 19
- 0
content/comments/configurer-reverse-proxy-haproxy/7.md View File

@ -0,0 +1,19 @@
email: courriel+blog@victor-hery.com
date: 2017-01-25T17:00+01:00
author: Victor
website: https://blog.victor-hery.com/
replyto: 5md
For the redirection part it's simple, you should be able to do that with redirect scheme directive, with something like :
acl acl_example hdr(host) exemple.com www.example.com
http-request redirect scheme https code 301 if !{ ssl_fc } acl_example
It's how I force https for my websites.
For the app_dev.php, I honestly do not know. I think that's not the proxy part to do that, as he has no ideas of what is behind him, and it should transmit the information to the webserver, without hiding any information to the webserver nor to the browser..
For me it's a webserver work to rewrite or make URL prettier, but perhaps I have missed something in haproxy regarding this possibility.
Good luck for this part!
See you

Loading…
Cancel
Save