refactor(NGINX): auto-load certificates
- use container-bound certificates by default - do not use separate certificate loading include
This commit is contained in:
parent
c240708a78
commit
cbb8595380
@ -4,7 +4,9 @@
|
||||
# Generated: January 5, 2021
|
||||
#
|
||||
|
||||
# SSL certificates should be defined in the relevant server block
|
||||
# SSL certificate and key location
|
||||
ssl_certificate /certs/fullchain.pem;
|
||||
ssl_certificate_key /certs/privkey.pem;
|
||||
|
||||
# SSL parameters
|
||||
ssl_session_timeout 1d;
|
||||
|
@ -4,7 +4,9 @@
|
||||
# Generated: January 5, 2021
|
||||
#
|
||||
|
||||
# SSL certificates should be defined in the relevant server block
|
||||
# SSL certificate and key location
|
||||
ssl_certificate /certs/fullchain.pem;
|
||||
ssl_certificate_key /certs/privkey.pem;
|
||||
|
||||
# SSL parameters
|
||||
ssl_session_timeout 1d;
|
||||
|
@ -1,3 +0,0 @@
|
||||
# SSL certificate for this connection
|
||||
ssl_certificate /certs/fullchain.pem;
|
||||
ssl_certificate_key /certs/privkey.pem;
|
@ -30,9 +30,6 @@ server {
|
||||
listen 443 ssl http2;
|
||||
include /etc/nginx/server_names.conf;
|
||||
|
||||
# ssl certificates
|
||||
include /etc/nginx/ssl_certs.conf;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user