Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Gwenaël Samain
slapos
Commits
58f4bdf5
Commit
58f4bdf5
authored
11 years ago
by
Vincent Pelletier
Browse files
Options
Download
Email Patches
Plain Diff
varnish: Provide backend-url to recipe as parameter.
parent
be50f997
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
software/varnish/instance-varnish.cfg.in
software/varnish/instance-varnish.cfg.in
+1
-0
software/varnish/software.cfg
software/varnish/software.cfg
+1
-1
No files found.
software/varnish/instance-varnish.cfg.in
View file @
58f4bdf5
...
...
@@ -23,6 +23,7 @@ url = http://${varnish-instance:ip}:${varnish-instance:server-port}/
[varnish-instance]
recipe = slapos.cookbook:generic.varnish
backend-url = {{ slapparameter_dict['backend-url'] }}
# Network options
ip = ${slap-network-information:local-ipv4}
...
...
This diff is collapsed.
Click to expand it.
software/varnish/software.cfg
View file @
58f4bdf5
...
...
@@ -87,7 +87,7 @@ extra-context =
[template-varnish]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/instance-varnish.cfg.in
md5sum =
d1d174222fccd76729ac9e4c36be0a0a
md5sum =
699d31010ec9924093dfdc8f4f40d341
mode = 640
[eggs]
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment