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
108
Merge Requests
108
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
6d49e82d
Commit
6d49e82d
authored
Mar 30, 2012
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lamp-generic : Add frontend request
parent
2bb85599
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
2 deletions
+14
-2
stack/lamp/buildout.cfg
stack/lamp/buildout.cfg
+1
-1
stack/lamp/instance-apache-php.cfg
stack/lamp/instance-apache-php.cfg
+13
-1
No files found.
stack/lamp/buildout.cfg
View file @
6d49e82d
...
@@ -68,7 +68,7 @@ mode = 0644
...
@@ -68,7 +68,7 @@ mode = 0644
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-apache-php.cfg
url = ${:_profile_base_location_}/instance-apache-php.cfg
output = ${buildout:directory}/template-apache-php.cfg
output = ${buildout:directory}/template-apache-php.cfg
md5sum =
8ebed1e26127c066e5b69372e69e6c38
md5sum =
7214e805bba93a64c069af6dbad1b7a1
mode = 0644
mode = 0644
[template-apache-backup]
[template-apache-backup]
...
...
stack/lamp/instance-apache-php.cfg
View file @
6d49e82d
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
parts =
parts =
url
url
request-mariadb
request-mariadb
request-frontend
apache-php
apache-php
stunnel
stunnel
certificate-authority
certificate-authority
...
@@ -20,7 +21,7 @@ offline = true
...
@@ -20,7 +21,7 @@ offline = true
[url]
[url]
recipe = slapos.cookbook:publishurl
recipe = slapos.cookbook:publishurl
url =
http://[$${apache-php:ip}]:$${apache-php:port}/
url =
${request-frontend:connection-site_url}
[promise]
[promise]
recipe = slapos.cookbook:check_port_listening
recipe = slapos.cookbook:check_port_listening
...
@@ -109,6 +110,17 @@ software-url = $${slap-connection:software-release-url}
...
@@ -109,6 +110,17 @@ software-url = $${slap-connection:software-release-url}
software-type = mariadb
software-type = mariadb
return = url
return = url
[request-frontend]
<= slap-connection
recipe = slapos.cookbook:request
name = Frontend
# XXX We have hardcoded SR URL here.
software-url = http://git.erp5.org/gitweb/slapos.git/blob_plain/refs/tags/slapos-0.74:/software/apache-frontend/software.cfg
slave = true
config = url
config-url = http://[$${apache-php:ip}]:$${apache-php:port}/
return = site_url
[logrotate]
[logrotate]
recipe = slapos.cookbook:logrotate
recipe = slapos.cookbook:logrotate
# Binaries
# Binaries
...
...
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