Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rosetta
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
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
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
ExaCT
Rosetta
Commits
22852136
Commit
22852136
authored
2 years ago
by
Stefano Alberto Russo
Browse files
Options
Downloads
Patches
Plain Diff
Fixes
parent
51d504d4
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitignore
+0
-1
0 additions, 1 deletion
.gitignore
services/proxy/prestartup_proxy.sh
+4
-1
4 additions, 1 deletion
services/proxy/prestartup_proxy.sh
with
4 additions
and
2 deletions
.gitignore
+
0
−
1
View file @
22852136
...
...
@@ -16,7 +16,6 @@ data*
# DB conf
services/webapp/db_conf.sh
services/proxy/certificates
# Compose
docker-compose.yml
This diff is collapsed.
Click to expand it.
services/proxy/prestartup_proxy.sh
+
4
−
1
View file @
22852136
...
...
@@ -39,11 +39,14 @@ sudo sed -i "s/__ROSETTA_HOST__/$ROSETTA_HOST/g" /etc/apache2/sites-available/pr
#-----------------------
# If the tasks host is equal to rosetta host or not set, do nothing as we have already habdled it above
if
[
"x
$ROSETTA_TASKS_PROXY_HOST
"
==
"x
$ROSETTA_HOST
"
]
||
[
"x
$ROSETTA_TASKS_PROXY_HOST
"
==
"x"
]
;
then
if
[
"x
$ROSETTA_TASKS_PROXY_HOST
"
==
"x
$ROSETTA_HOST
"
]
||
[
"x
$ROSETTA_TASKS_PROXY_HOST
"
==
"x"
]
;
then
echo
"[INFO] Not setting up certificates forRosetta tasks host as qual to Rosetta main host"
ROSETTA_TASKS_PROXY_HOST
=
$ROSETTA_HOST
else
# Always create dir if not existent
mkdir
-p
/etc/letsencrypt/live/
$ROSETTA_TASKS_PROXY_HOST
/
# If there are no certificates, use snakeoils
if
[
!
-f
"/etc/letsencrypt/live/
$ROSETTA_TASKS_PROXY_HOST
/cert.pem"
]
;
then
echo
"Using default self-signed certificate cer file for
$ROSETTA_TASKS_PROXY_HOST
as not existent..."
...
...
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