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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kwabena Antwi-Boasiako
slapos
Commits
4745d992
Commit
4745d992
authored
Jan 14, 2016
by
Rafael Monnerat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
apache-frontend: make trafficserver internal ports configurable.
parent
0cb6ecf9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
software/apache-frontend/common.cfg
software/apache-frontend/common.cfg
+2
-2
software/apache-frontend/instance-apache-frontend.cfg
software/apache-frontend/instance-apache-frontend.cfg
+4
-0
software/apache-frontend/templates/trafficserver/records.config.jinja2
...he-frontend/templates/trafficserver/records.config.jinja2
+2
-2
No files found.
software/apache-frontend/common.cfg
View file @
4745d992
...
@@ -65,7 +65,7 @@ mode = 0644
...
@@ -65,7 +65,7 @@ mode = 0644
[template-apache-frontend]
[template-apache-frontend]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-apache-frontend.cfg
url = ${:_profile_base_location_}/instance-apache-frontend.cfg
md5sum =
f65456f704a32c43822b1efefc7ae4b7
md5sum =
00361d1e4a2788863de58e0ca9b6dfcf
output = ${buildout:directory}/template-apache-frontend.cfg
output = ${buildout:directory}/template-apache-frontend.cfg
mode = 0644
mode = 0644
...
@@ -164,7 +164,7 @@ md5sum = 8cde04bfd0c0e9bd56744b988275cfd8
...
@@ -164,7 +164,7 @@ md5sum = 8cde04bfd0c0e9bd56744b988275cfd8
[template-trafficserver-records-config]
[template-trafficserver-records-config]
recipe = hexagonit.recipe.download
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/templates/trafficserver/${:filename}
url = ${:_profile_base_location_}/templates/trafficserver/${:filename}
md5sum =
a892d3e71988a8293e44382cbf10810f
md5sum =
c68fc90886c3314466b459520692e145
location = ${buildout:parts-directory}/${:_buildout_section_name_}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
filename = records.config.jinja2
filename = records.config.jinja2
download-only = true
download-only = true
...
...
software/apache-frontend/instance-apache-frontend.cfg
View file @
4745d992
...
@@ -122,6 +122,8 @@ configuration.apache-ca-certificate =
...
@@ -122,6 +122,8 @@ configuration.apache-ca-certificate =
configuration.open-port = 80 443
configuration.open-port = 80 443
configuration.extra_slave_instance_list =
configuration.extra_slave_instance_list =
configuration.disk-cache-size = 8G
configuration.disk-cache-size = 8G
configuration.trafficserver-autoconf-port = 8083
configuration.trafficserver-mgmt-port = 8084
[frontend-configuration]
[frontend-configuration]
template-log-access = ${template-log-access:target}
template-log-access = ${template-log-access:target}
...
@@ -473,6 +475,8 @@ remap = map / http://$${instance-parameter:ipv4-random}:$${apache-configuration:
...
@@ -473,6 +475,8 @@ remap = map / http://$${instance-parameter:ipv4-random}:$${apache-configuration:
plugin-config = ${trafficserver:location}/libexec/trafficserver/rfc5861.so
plugin-config = ${trafficserver:location}/libexec/trafficserver/rfc5861.so
cache-path = $${trafficserver-directory:cache-path}
cache-path = $${trafficserver-directory:cache-path}
disk-cache-size = $${instance-parameter:configuration.disk-cache-size}
disk-cache-size = $${instance-parameter:configuration.disk-cache-size}
autoconf-port = $${instance-parameter:configuration.trafficserver-autoconf-port}
mgmt-port = $${instance-parameter:configuration.trafficserver-mgmt-port}
[trafficserver-configuration-directory]
[trafficserver-configuration-directory]
recipe = plone.recipe.command
recipe = plone.recipe.command
...
...
software/apache-frontend/templates/trafficserver/records.config.jinja2
View file @
4745d992
...
@@ -53,8 +53,8 @@ CONFIG proxy.config.admin.user_id STRING {{ '#%s' % os_module.geteuid() }}
...
@@ -53,8 +53,8 @@ CONFIG proxy.config.admin.user_id STRING {{ '#%s' % os_module.geteuid() }}
# Process Manager
# Process Manager
#
#
##############################################################################
##############################################################################
CONFIG proxy.config.admin.autoconf_port INT
8083
CONFIG proxy.config.admin.autoconf_port INT
{{ ats_configuration.get('autoconf-port', '8083') }}
CONFIG proxy.config.process_manager.mgmt_port INT
8084
CONFIG proxy.config.process_manager.mgmt_port INT
{{ ats_configuration.get('mgmt-port', '8084') }}
##############################################################################
##############################################################################
#
#
# In order to only bind a specific IP, use the following config, as in
# In order to only bind a specific IP, use the following config, as in
...
...
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