Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-admin-essentials
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
etersoft-admin-essentials
Commits
4a5fe594
Commit
4a5fe594
authored
Aug 16, 2018
by
Vitaly Lipatov
Committed by
Vitaly Lipatov
Aug 16, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nginx-le.sh: add other nginx tmp support
parent
8e2e7469
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
nginx-le.sh
certs/nginx-le.sh
+2
-0
No files found.
certs/nginx-le.sh
View file @
4a5fe594
...
@@ -6,6 +6,7 @@ shift
...
@@ -6,6 +6,7 @@ shift
[
-n
"
$DOMAIN
"
]
||
exit
[
-n
"
$DOMAIN
"
]
||
exit
DIR
=
/var/spool/nginx/tmp/client
DIR
=
/var/spool/nginx/tmp/client
[
-d
"
$DIR
"
]
||
DIR
=
/var/lib/nginx/tmp/client
# add
# add
# include include/letsencrypt.conf;
# include include/letsencrypt.conf;
...
@@ -19,6 +20,7 @@ KEY=/etc/letsencrypt/live/$DOMAIN/privkey.pem
...
@@ -19,6 +20,7 @@ KEY=/etc/letsencrypt/live/$DOMAIN/privkey.pem
PEM
=
/etc/letsencrypt/live/
$DOMAIN
/fullchain.pem
PEM
=
/etc/letsencrypt/live/
$DOMAIN
/fullchain.pem
CHAIN
=
/etc/letsencrypt/live/
$DOMAIN
/chain.pem
CHAIN
=
/etc/letsencrypt/live/
$DOMAIN
/chain.pem
# TODO: replace subst
# TODO: add these lines
# TODO: add these lines
SP
=
"[ ]"
SP
=
"[ ]"
subst
"s|
\(
ssl_certificate
$SP
\)\(
$SP
*
\)
.*|
\1\2
$PEM
;|g"
$NCONF
subst
"s|
\(
ssl_certificate
$SP
\)\(
$SP
*
\)
.*|
\1\2
$PEM
;|g"
$NCONF
...
...
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