Note Today
Note Today
Note Today
LA token:
https://airdrop.latoken.com/invite/0dwQ4uBcfEzQZwds
//
# SSL
ssl_certificate /etc/letsencrypt/live/www.khoahocsuckhoe.net/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/www.khoahocsuckhoe.net/privkey.pem;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
ssl_ciphers
EECDH+CHACHA20:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:
!MD5;
# DH parameters
ssl_dhparam /etc/nginx/ssl/dhparam.pem;
# Enable HSTS
add_header Strict-Transport-Security "max-age=31536000" always;
//
server {
listen 443 ssl;
server_name www.khoahocsuckhoe.net;
# SSL
ssl_certificate /etc/letsencrypt/live/khoahocsuckhoe.net/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/khoahocsuckhoe.net/privkey.pem;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
ssl_ciphers
EECDH+CHACHA20:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:
!MD5;
IMPORTANT NOTES:
- Congratulations! Your certificate and chain have been saved at:
/etc/letsencrypt/live/khoahocsuckhoe.net/fullchain.pem
Your key file has been saved at:
/etc/letsencrypt/live/khoahocsuckhoe.net/privkey.pem
Your cert will expire on 2019-10-03. To obtain a new or tweaked
version of this certificate in the future, simply run certbot-auto
again. To non-interactively renew *all* of your certificates, run
"certbot-auto renew"
- If you like Certbot, please consider supporting our work by:
//
server {
listen 2179 ssl;
access_log off;
log_not_found off;
error_log /home/www.khoahocsuckhoe.net/logs/nginx_error.log;
root /home/hocvps.com/private_html;
index index.php index.html index.htm;
server_name hocvps.com;
ssl_certificate /etc/letsencrypt/live/khoahocsuckhoe.net/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/khoahocsuckhoe.net/privkey.pem;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
ssl_ciphers
EECDH+CHACHA20:EECDH+AES128:RSA+AES128:EECDH+AES256:RSA+AES256:EECDH+3DES:RSA+3DES:
!MD5;
auth_basic "Restricted";
auth_basic_user_file /home/hocvps.com/private_html/hocvps/.htpasswd;
location / {
autoindex on;
try_files $uri $uri/ /index.php;
}
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
include /etc/nginx/fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_connect_timeout 1000;
fastcgi_send_timeout 1000;
fastcgi_read_timeout 1000;
fastcgi_buffer_size 256k;
fastcgi_buffers 4 256k;
fastcgi_busy_buffers_size 256k;
fastcgi_temp_file_write_size 256k;
fastcgi_intercept_errors on;
fastcgi_param SCRIPT_FILENAME
/home/khoahocsuckhoe.net/private_html$fastcgi_script_name;
}
location ~ /\. {
deny all;
}
}