Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos-mynij-dev
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mynij
slapos-mynij-dev
Commits
559a20a4
Commit
559a20a4
authored
Jul 22, 2021
by
Stefane Fermigier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: deal with openssl.
parent
887576b8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
software/mynij-proxy/buildout.hash.cfg
software/mynij-proxy/buildout.hash.cfg
+1
-1
software/mynij-proxy/instance.cfg.in
software/mynij-proxy/instance.cfg.in
+2
-1
software/mynij-proxy/software.cfg
software/mynij-proxy/software.cfg
+3
-1
No files found.
software/mynij-proxy/buildout.hash.cfg
View file @
559a20a4
...
@@ -14,4 +14,4 @@
...
@@ -14,4 +14,4 @@
# not need these here).
# not need these here).
[instance-profile]
[instance-profile]
filename = instance.cfg.in
filename = instance.cfg.in
md5sum =
fc7afd5c35a756de1f020a089d82e3d9
md5sum =
8c56b370d0344e6d325818827447c3be
software/mynij-proxy/instance.cfg.in
View file @
559a20a4
...
@@ -39,6 +39,7 @@ log = ${:var}/log
...
@@ -39,6 +39,7 @@ log = ${:var}/log
plugins = ${:etc}/plugins
plugins = ${:etc}/plugins
ssl = ${:etc}/ssl
ssl = ${:etc}/ssl
[mynij-proxy-service]
[mynij-proxy-service]
# Actual script that starts the service:
# Actual script that starts the service:
# This recipe will try to "exec" the command-line after separating parameters.
# This recipe will try to "exec" the command-line after separating parameters.
...
@@ -72,7 +73,7 @@ url = https://[${mynij-proxy-service:host}]:${mynij-proxy-service:port}
...
@@ -72,7 +73,7 @@ url = https://[${mynij-proxy-service:host}]:${mynij-proxy-service:port}
[certificates]
[certificates]
recipe = plone.recipe.command
recipe = plone.recipe.command
command = "{{
parameter_dict['openssl']
}}" req -newkey rsa -batch -new -x509 -days 3650 -nodes -keyout "${:ssl_key}" -out "${:ssl_crt}"
command = "{{
openssl_bin
}}" req -newkey rsa -batch -new -x509 -days 3650 -nodes -keyout "${:ssl_key}" -out "${:ssl_crt}"
stop-on-error = true
stop-on-error = true
ssl_crt = ${directory:ssl}/httpd.crt
ssl_crt = ${directory:ssl}/httpd.crt
ssl_key = ${directory:ssl}/httpd.key
ssl_key = ${directory:ssl}/httpd.key
software/mynij-proxy/software.cfg
View file @
559a20a4
...
@@ -8,6 +8,7 @@ extends =
...
@@ -8,6 +8,7 @@ extends =
# "slapos" stack describes basic things needed for 99.9% of SlapOS Software
# "slapos" stack describes basic things needed for 99.9% of SlapOS Software
# Releases
# Releases
../../component/git/buildout.cfg
../../component/git/buildout.cfg
../../component/openssl/buildout.cfg
../../stack/slapos.cfg
../../stack/slapos.cfg
../../stack/monitor/buildout.cfg
../../stack/monitor/buildout.cfg
# Extend here component profiles, like openssl, apache, mariadb, curl...
# Extend here component profiles, like openssl, apache, mariadb, curl...
...
@@ -77,6 +78,7 @@ context =
...
@@ -77,6 +78,7 @@ context =
key mynij_proxy_location mynij-proxy-repository:location
key mynij_proxy_location mynij-proxy-repository:location
raw gunicorn_bin ${buildout:bin-directory}/gunicorn
raw gunicorn_bin ${buildout:bin-directory}/gunicorn
raw template_monitor ${monitor2-template:rendered}
raw template_monitor ${monitor2-template:rendered}
raw openssl_bin ${openssl:location}/bin/openssl
[versions]
[versions]
...
...
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