Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
107
Merge Requests
107
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
nexedi
slapos
Commits
d1fe42c3
Commit
d1fe42c3
authored
Jul 03, 2014
by
Cédric Le Ninivin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
apache-frontend: add rfc5861 (stale-while-revalidate) plugin to ats
parent
1fb6cd42
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
component/trafficserver/buildout.cfg
component/trafficserver/buildout.cfg
+1
-0
software/apache-frontend/instance-apache-frontend.cfg
software/apache-frontend/instance-apache-frontend.cfg
+10
-0
No files found.
component/trafficserver/buildout.cfg
View file @
d1fe42c3
...
@@ -31,6 +31,7 @@ configure-options =
...
@@ -31,6 +31,7 @@ configure-options =
--with-ncurses=${ncurses:location}
--with-ncurses=${ncurses:location}
--with-tcl=${tcl:location}/lib/
--with-tcl=${tcl:location}/lib/
--with-zlib=${zlib:location}
--with-zlib=${zlib:location}
--enable-experimental-plugins
environment =
environment =
PATH=${make:location}/bin:${libtool:location}/bin:${pkgconfig:location}/bin:%(PATH)s
PATH=${make:location}/bin:${libtool:location}/bin:${pkgconfig:location}/bin:%(PATH)s
LDFLAGS = -L${tcl:location}/lib -Wl,-rpath=${tcl:location}/lib -Wl,-rpath=${openssl:location}/lib
LDFLAGS = -L${tcl:location}/lib -Wl,-rpath=${tcl:location}/lib -Wl,-rpath=${openssl:location}/lib
...
...
software/apache-frontend/instance-apache-frontend.cfg
View file @
d1fe42c3
...
@@ -29,6 +29,7 @@ parts =
...
@@ -29,6 +29,7 @@ parts =
trafficserver-configuration-directory
trafficserver-configuration-directory
trafficserver-records-config
trafficserver-records-config
trafficserver-remap-config
trafficserver-remap-config
trafficserver-plugin-config
trafficserver-storage-config
trafficserver-storage-config
## Monitoring part
## Monitoring part
...
@@ -454,6 +455,7 @@ input-port = 23432
...
@@ -454,6 +455,7 @@ input-port = 23432
hostname = $${slap-parameter:frontend-name}
hostname = $${slap-parameter:frontend-name}
remap = map / http://$${instance-parameter:ipv4-random}:$${apache-configuration:cache-through-port}
remap = map / http://$${instance-parameter:ipv4-random}:$${apache-configuration:cache-through-port}
disk-cache-config = $${trafficserver-directory:cache-path} 8G volume=$${slap-parameter:frontend-name}
disk-cache-config = $${trafficserver-directory:cache-path} 8G volume=$${slap-parameter:frontend-name}
plugin-config = ${trafficserver:location}/libexec/trafficserver/rfc5861.so
[trafficserver-configuration-directory]
[trafficserver-configuration-directory]
recipe = plone.recipe.command
recipe = plone.recipe.command
...
@@ -490,6 +492,14 @@ mode = 700
...
@@ -490,6 +492,14 @@ mode = 700
context =
context =
key content trafficserver-variable:remap
key content trafficserver-variable:remap
[trafficserver-plugin-config]
< = jinja2-template-base
template = ${template-empty:target}
rendered = $${trafficserver-configuration-directory:target}/plugin.config
mode = 700
context =
key content trafficserver-variable:plugin-config
[trafficserver-storage-config]
[trafficserver-storage-config]
< = jinja2-template-base
< = jinja2-template-base
template = ${template-empty:target}
template = ${template-empty:target}
...
...
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