use ssl for nginx
This commit is contained in:
parent
010793dc03
commit
b434eb6551
@ -21,7 +21,7 @@ http {
|
|||||||
|
|
||||||
server {
|
server {
|
||||||
# List port
|
# List port
|
||||||
listen {{"{{"}}GIN_PORT{{"}}"}};
|
listen {{"{{"}}GIN_PORT{{"}}"}} ssl;
|
||||||
|
|
||||||
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
||||||
ssl_certificate /etc/ssl/nginx/fullchain.pem;
|
ssl_certificate /etc/ssl/nginx/fullchain.pem;
|
||||||
|
Loading…
Reference in New Issue
Block a user