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
1e60368f
Commit
1e60368f
authored
Jun 10, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix update_nginx.sh:
parent
824db7f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
update_nginx.sh
vz/azbyka/update_nginx.sh
+2
-2
No files found.
vz/azbyka/update_nginx.sh
View file @
1e60368f
...
...
@@ -107,9 +107,9 @@ UPSTREAMNAME="upstream-$ACONF"
UPSTREAM
=
"http://
$UPSTREAMNAME
"
VEPORT
=
$(
printf
"%03d"
$((
$VEID
-
100
)))
ECODE
=
$((
430
+
$VEID
-
100
))
echo
"VEPORT:
$VEPORT
ECODE:
$ECODE
"
echo
"VEPORT:
$VEPORT
ECODE:
$ECODE
, config:
$NGINXSUBDIR
/
$NAME
.conf
"
print_nginx_conf
>
$NGINXSUBDIR
/
$NAME
.conf
if
[
"
$NGINX_disable_static_stub
"
]
;
then
if
[
-n
"
$NGINX_disable_static_stub
"
]
;
then
sed
-i
-e
"s|
\(
.*static-stub.*
\)
|#
\1
|"
$NGINXSUBDIR
/
$NAME
.conf
fi
...
...
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