Ci-dessous, les différences entre deux révisions de la page.
| Prochaine révision | Révision précédente | ||
|
outils:varnish [08/12/2014 16:28] 127.0.0.1 modification externe |
outils:varnish [13/11/2015 17:43] (Version actuelle) julp |
||
|---|---|---|---|
| Ligne 53: | Ligne 53: | ||
| # ... | # ... | ||
| } | } | ||
| + | }</ | ||
| + | |||
| + | Exemples : | ||
| + | |||
| + | Redirection sans www => avec www : | ||
| + | < | ||
| + | if (" | ||
| + | return (synth(701, " | ||
| + | } | ||
| + | # ... | ||
| + | }</ | ||
| + | |||
| + | Forcer l' | ||
| + | < | ||
| + | if (80 == std.port(local.ip)) { | ||
| + | return (synth(701, " | ||
| + | } | ||
| + | # ... | ||
| }</ | }</ | ||