Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
envsetup
Manage
Activity
Members
Plan
Redmine
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor 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
mediaserver
envsetup
Commits
90cb4839
Commit
90cb4839
authored
7 years ago
by
hmangeart
Browse files
Options
Downloads
Patches
Plain Diff
remove useless loop
parent
ff208129
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
2.Common_services/7.letsencrypt/0_setup.sh
+6
-7
6 additions, 7 deletions
2.Common_services/7.letsencrypt/0_setup.sh
with
6 additions
and
7 deletions
2.Common_services/7.letsencrypt/0_setup.sh
+
6
−
7
View file @
90cb4839
...
...
@@ -48,13 +48,12 @@ nginx -t && \
# ASKS FOR CERTS TO LETSENCRYPT
mkdir
-p
/tmp/letsencrypt
for
domain
in
$MS_SERVER_NAME
$CM_SERVER_NAME
$MONITOR_SERVER_NAME
;
do
certbot certonly
\
--webroot
--webroot-path
/tmp/letsencrypt
\
--domains
"
${
DOMAIN_STRING
}
"
\
--email
"
${
EMAIL_ADMINS
}
"
\
--rsa-key-size
4096
done
certbot certonly
\
--webroot
--webroot-path
/tmp/letsencrypt
\
--domains
"
${
DOMAIN_STRING
}
"
\
--email
"
${
EMAIL_ADMINS
}
"
\
--rsa-key-size
4096
# RE-REDIRECT HTTP to HTTPS
sed
-i
s/rewrite/#rewrite/ mediaserver-msuser.conf skyreach.conf msmonitor.conf
...
...
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