forked from gitbot/uguu
nginx examples
scaled down
This commit is contained in:
parent
9983c2dc93
commit
946c385baf
@ -7,9 +7,6 @@ ssl_certificate_key /etc/letsencrypt/live/A.Y/privkey.pem;
|
|||||||
ssl_protocols TLSv1.2 TLSv1.3;
|
ssl_protocols TLSv1.2 TLSv1.3;
|
||||||
ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';
|
ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';
|
||||||
ssl_ecdh_curve secp384r1;
|
ssl_ecdh_curve secp384r1;
|
||||||
ssl_buffer_size 4k;
|
|
||||||
ssl_session_tickets off;
|
|
||||||
ssl_session_timeout 24h;
|
|
||||||
|
|
||||||
root /var/www/uguu/files/;
|
root /var/www/uguu/files/;
|
||||||
autoindex off;
|
autoindex off;
|
||||||
|
@ -7,9 +7,6 @@ ssl_certificate_key /etc/letsencrypt/live/X.Y/privkey.pem;
|
|||||||
ssl_protocols TLSv1.2 TLSv1.3;
|
ssl_protocols TLSv1.2 TLSv1.3;
|
||||||
ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';
|
ssl_ciphers 'EECDH+AESGCM:EDH+AESGCM:AES256+EECDH:AES256+EDH';
|
||||||
ssl_ecdh_curve secp384r1;
|
ssl_ecdh_curve secp384r1;
|
||||||
ssl_buffer_size 4k;
|
|
||||||
ssl_session_tickets off;
|
|
||||||
ssl_session_timeout 24h;
|
|
||||||
|
|
||||||
root /var/www/uguu/dist/;
|
root /var/www/uguu/dist/;
|
||||||
autoindex off;
|
autoindex off;
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
user www-data;
|
user www-data;
|
||||||
worker_processes auto;
|
worker_processes auto;
|
||||||
worker_rlimit_nofile 40000;
|
|
||||||
pid /run/nginx.pid;
|
pid /run/nginx.pid;
|
||||||
include /etc/nginx/modules-enabled/*.conf;
|
include /etc/nginx/modules-enabled/*.conf;
|
||||||
|
|
||||||
@ -32,13 +31,6 @@ client_max_body_size 128m;
|
|||||||
include /etc/nginx/mime.types;
|
include /etc/nginx/mime.types;
|
||||||
default_type application/octet-stream;
|
default_type application/octet-stream;
|
||||||
|
|
||||||
##
|
|
||||||
# SSL Settings
|
|
||||||
##
|
|
||||||
|
|
||||||
ssl_protocols TLSv1 TLSv1.1 TLSv1.2; # Dropping SSLv3, ref: POODLE
|
|
||||||
ssl_prefer_server_ciphers on;
|
|
||||||
|
|
||||||
##
|
##
|
||||||
# Logging Settings
|
# Logging Settings
|
||||||
##
|
##
|
||||||
|
Loading…
Reference in New Issue
Block a user