Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Docker Nginx Auto Ssl
Commits
81146ba9
Commit
81146ba9
authored
May 29, 2018
by
Valian
Browse files
fixes #2 duplicate redirect location after container restart
parent
d1321e8f
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
81146ba9
...
...
@@ -201,6 +201,7 @@ docker run [YOUR_OPTIONS] docker-nginx-auto-ssl
# CHANGELOG
*
**29-05-2017**
- Fixed duplicate redirect location after container restart #2
*
**19-12-2017**
- Support for
`$SITES`
variable
*
**2-12-2017**
- Dropped HSTS by default
*
**25-11-2017**
- Initial release
...
...
entrypoint.sh
View file @
81146ba9
...
...
@@ -50,7 +50,11 @@ fi
if
[
"
$FORCE_HTTPS
"
==
"true"
]
;
then
echo
"include force-https.conf;"
>>
${
RESTY_CONF_DIR
}
/resty-server-http.conf
# only do this, if it's first run
if
!
grep
-q
"force-https.conf"
${
RESTY_CONF_DIR
}
/resty-server-http.conf
then
echo
"include force-https.conf;"
>>
${
RESTY_CONF_DIR
}
/resty-server-http.conf
fi
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