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
90d69600
Commit
90d69600
authored
Aug 10, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nginx-le.sh: skip commented server_name
parent
59b80cf6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
nginx-le.sh
certs/nginx-le.sh
+1
-1
No files found.
certs/nginx-le.sh
View file @
90d69600
...
@@ -25,7 +25,7 @@ fi
...
@@ -25,7 +25,7 @@ fi
[
-r
"
$NCONF
"
]
||
fatal
"Can't find
$NCONF
"
[
-r
"
$NCONF
"
]
||
fatal
"Can't find
$NCONF
"
DOMAINARG
=
""
DOMAINARG
=
""
for
i
in
$(
grep
server_name
$NCONF
|
sed
-e
"s|;||"
)
;
do
for
i
in
$(
grep
server_name
$NCONF
|
grep
-v
"^ *#"
|
sed
-e
"s|;||"
)
;
do
echo
"
$i
"
|
grep
-q
"server_name"
&&
continue
echo
"
$i
"
|
grep
-q
"server_name"
&&
continue
echo
"
$i
"
|
grep
-q
"
$INTHOST
"
&&
continue
echo
"
$i
"
|
grep
-q
"
$INTHOST
"
&&
continue
[
-n
"
$DOMAIN
"
]
||
DOMAIN
=
"
$i
"
[
-n
"
$DOMAIN
"
]
||
DOMAIN
=
"
$i
"
...
...
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