set ssl_options snippet at global config
This commit is contained in:
parent
2c52a3e11a
commit
5ff7de70e7
@ -29,8 +29,7 @@ http {
|
|||||||
# SSL Settings
|
# SSL Settings
|
||||||
##
|
##
|
||||||
|
|
||||||
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE
|
include /etc/nginx/snippets/ssl_options.conf
|
||||||
ssl_prefer_server_ciphers on;
|
|
||||||
|
|
||||||
##
|
##
|
||||||
# Logging Settings
|
# Logging Settings
|
||||||
|
@ -9,7 +9,6 @@ server {
|
|||||||
|
|
||||||
ssl_certificate /etc/letsencrypt/live/my.domain.com/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/my.domain.com/fullchain.pem;
|
||||||
ssl_certificate_key /etc/letsencrypt/live/my.domain.com/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/my.domain.com/privkey.pem;
|
||||||
include /etc/nginx/snippets/ssl_options.conf;
|
|
||||||
|
|
||||||
client_max_body_size 5M;
|
client_max_body_size 5M;
|
||||||
client_body_buffer_size 256K;
|
client_body_buffer_size 256K;
|
||||||
|
@ -9,7 +9,6 @@ server {
|
|||||||
|
|
||||||
ssl_certificate /etc/letsencrypt/live/cloud.domain.com/fullchain.pem;
|
ssl_certificate /etc/letsencrypt/live/cloud.domain.com/fullchain.pem;
|
||||||
ssl_certificate_key /etc/letsencrypt/live/cloud.domain.com/privkey.pem;
|
ssl_certificate_key /etc/letsencrypt/live/cloud.domain.com/privkey.pem;
|
||||||
include /etc/nginx/snippets/ssl_options.conf;
|
|
||||||
|
|
||||||
client_body_in_file_only clean;
|
client_body_in_file_only clean;
|
||||||
client_body_buffer_size 128K;
|
client_body_buffer_size 128K;
|
||||||
|
Loading…
Reference in New Issue
Block a user