Commit 89227c17d50af543b2e671f394ea63d030780f4f
1 parent
270578d4
Exists in
staging
and in
30 other branches
Updates varnish configuration for Varnish 4 in Debian Jessie
* Inline c is disabled by default, so we have to enable it * Apache deprecated NameVirtualHost
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
INSTALL.varnish.md
@@ -19,7 +19,6 @@ Install the RPAF apache module (or skip this step if not using apache): | @@ -19,7 +19,6 @@ Install the RPAF apache module (or skip this step if not using apache): | ||
19 | 19 | ||
20 | 3a) Edit `/etc/apache2/ports.conf`, and: | 20 | 3a) Edit `/etc/apache2/ports.conf`, and: |
21 | 21 | ||
22 | - * change `NameVirtualHost *:80` to `NameVirtualHost *:8080` | ||
23 | * change `Listen 80` to `Listen 127.0.0.1:8080` | 22 | * change `Listen 80` to `Listen 127.0.0.1:8080` |
24 | 23 | ||
25 | 3b) Edit `/etc/apache2/sites-enabled/*`, and change `<VirtualHost *:80>` to `<VirtualHost *:8080>` | 24 | 3b) Edit `/etc/apache2/sites-enabled/*`, and change `<VirtualHost *:80>` to `<VirtualHost *:8080>` |
@@ -30,6 +29,7 @@ Install the RPAF apache module (or skip this step if not using apache): | @@ -30,6 +29,7 @@ Install the RPAF apache module (or skip this step if not using apache): | ||
30 | 29 | ||
31 | * change the line that says `START=no` to say `START=yes` | 30 | * change the line that says `START=no` to say `START=yes` |
32 | * change `-a :6081` to `-a :80` | 31 | * change `-a :6081` to `-a :80` |
32 | + * add parameter `-p vcc_allow_inline_c=on` on `DAEMON_OPTS` | ||
33 | 33 | ||
34 | 4b) Edit `/etc/varnish/default.vcl` and add the following lines at the end: | 34 | 4b) Edit `/etc/varnish/default.vcl` and add the following lines at the end: |
35 | 35 |