Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
docker-limesurvey
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TO
docker-limesurvey
Commits
f39e478e
Commit
f39e478e
authored
5 years ago
by
Andrej Ramašeuski
Browse files
Options
Downloads
Patches
Plain Diff
Prejmenovani metadat
parent
d43dd7bf
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#97
passed
5 years ago
Stage: build
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
entrypoint.sh
+3
-2
3 additions, 2 deletions
entrypoint.sh
mod_auth_mellon.conf
+3
-3
3 additions, 3 deletions
mod_auth_mellon.conf
with
6 additions
and
5 deletions
entrypoint.sh
+
3
−
2
View file @
f39e478e
...
...
@@ -34,11 +34,12 @@ if [ ! -f /etc/apache2/saml2/${HOST}.xml ]; then
pushd
/etc/apache2/saml2
echo
-e
"Generating new service provider certificate.
\n\n
"
/usr/sbin/mellon_create_metadata https://
${
HOST
}
/mellon/metadata https://
${
HOST
}
/mellon
mv
http
*
.xml sp.xml
mv
http
*
.key sp.key
mv
http
*
.cert sp.cert
popd
fi
sed
-i
"s/{{SP_ID}}/
${
HOST
}
/g"
/etc/apache2/conf-enabled/mod_auth_mellon.conf
# Check if database is available
if
[
-z
"
$DB_SOCK
"
]
;
then
until
nc
-z
-v
-w30
$DB_HOST
$DB_PORT
...
...
This diff is collapsed.
Click to expand it.
mod_auth_mellon.conf
+
3
−
3
View file @
f39e478e
<
Location
/ >
MellonEnable
info
MellonEndpointPath
/
mellon
MellonSPPrivateKeyFile
/
etc
/
apache2
/
saml2
/
{{
SP_ID
}}
.
key
MellonSPCertFile
/
etc
/
apache2
/
saml2
/
{{
SP_ID
}}
.
cert
MellonSPMetadataFile
/
etc
/
apache2
/
saml2
/
{{
SP_ID
}}
.
xml
MellonSPPrivateKeyFile
/
etc
/
apache2
/
saml2
/
sp
.
key
MellonSPCertFile
/
etc
/
apache2
/
saml2
/
sp
.
cert
MellonSPMetadataFile
/
etc
/
apache2
/
saml2
/
sp
.
xml
MellonIdPMetadataFile
/
etc
/
apache2
/
saml2
/
idp
.
xml
</
Location
>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment