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
Eteri
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
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-apache-php.cfg
output = ${buildout:directory}/template-apache-php.cfg
md5sum =
8ebed1e26127c066e5b69372e69e6c38
md5sum =
7214e805bba93a64c069af6dbad1b7a1
mode = 0644
[template-apache-backup]
...
...
stack/lamp/instance-apache-php.cfg
View file @
6d49e82d
...
...
@@ -3,6 +3,7 @@
parts =
url
request-mariadb
request-frontend
apache-php
stunnel
certificate-authority
...
...
@@ -20,7 +21,7 @@ offline = true
[url]
recipe = slapos.cookbook:publishurl
url =
http://[$${apache-php:ip}]:$${apache-php:port}/
url =
${request-frontend:connection-site_url}
[promise]
recipe = slapos.cookbook:check_port_listening
...
...
@@ -109,6 +110,17 @@ software-url = $${slap-connection:software-release-url}
software-type = mariadb
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]
recipe = slapos.cookbook:logrotate
# 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