Update docker/compose/nginx/nginx.conf
This commit is contained in:
parent
5d5c9e55da
commit
0805898afe
1 changed files with 2 additions and 0 deletions
|
@ -2,12 +2,14 @@ events {}
|
|||
http {
|
||||
server {
|
||||
listen 80 default_server;
|
||||
listen [::]:80 default_server;
|
||||
server_name _;
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
ssl_certificate /certs/nginx_certificate.pem;
|
||||
ssl_certificate_key /certs/nginx_key.pem;
|
||||
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
||||
|
|
Loading…
Add table
Reference in a new issue