Created
June 18, 2020 14:59
-
-
Save thaihust/93491280eb30eacc3492eb61078dd880 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://gist.github.com/leeoniya/ff19bc6e6237f80e33b6985476f8c791 | |
https://www.hostinger.vn/huong-dan/cach-cai-dat-wordpress-tren-ubuntu-bang-nginx/ | |
https://medium.com/@jgefroh/a-guide-to-using-nginx-for-static-websites-d96a9d034940 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://kipalog.com/posts/Tao-chung-chi-SSL-mien-phi-voi-Let-s-Encrypt
letsencrypt certonly -a webroot --webroot-path=/var/www/streaming -d streaming.cloudrity.site
TLS_AES_256_GCM_SHA384:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_128_GCM_SHA256:-ECDSA-AES256-GCM-SHA384:-RSA-AES256-GCM-SHA384:DHE-RSA-AES256-GCM-SHA384:-ECDSA-CHACHA20-POLY1305:-RSA-CHACHA20-POLY1305:DHE-RSA-CHACHA20-POLY1305:-ECDSA-AES128-GCM-SHA256:-RSA-AES128-GCM-SHA256:DHE-RSA-AES128-GCM-SHA256:-ECDSA-AES256-SHA384:-RSA-AES256-SHA384:DHE-RSA-AES256-SHA256:-ECDSA-AES128-SHA256:-RSA-AES128-SHA256:DHE-RSA-AES128-SHA256:-ECDSA-AES256-SHA:-RSA-AES256-SHA:DHE-RSA-AES256-SHA
:-ECDSA-AES128-SHA:-RSA-AES128-SHA:DHE-RSA-AES128-SHA:RSA-PSK-AES256-GCM-SHA384:DHE-PSK-AES256-GCM-SHA384:RSA-PSK-CHACHA20-POLY1305:DHE-PSK-CHACHA20-POLY1305
:-PSK-CHACHA20-POLY1305:AES256-GCM-SHA384:PSK-AES256-GCM-SHA384:PSK-CHACHA20-POLY1305:RSA-PSK-AES128-GCM-SHA256:
DHE-PSK-AES128-GCM-SHA256:AES128-GCM-SHA256:PSK-AES128-GCM-SHA256:AES256-SHA256:AES128-SHA256:-PSK-AES256-CBC-SHA384:-PSK-AES256-CBC-SHA:SRP-RSA-AES-256-CBC-SHA:
SRP-AES-256-CBC-SHA:RSA-PSK-AES256-CBC-SHA384:DHE-PSK-AES256-CBC-SHA384:RSA-PSK-AES256-CBC-SHA:DHE-PSK-AES256-CBC-SHA:AES256-SHA:PSK-AES256-CBC-SHA384:PSK-AES256-CBC-SHA:
-PSK-AES128-CBC-SHA256:-PSK-AES128-CBC-SHA:SRP-RSA-AES-128-CBC-SHA:SRP-AES-128-CBC-SHA:RSA-PSK-AES128-CBC-SHA256:DHE-PSK-AES128-CBC-SHA256:RSA-PSK-AES128-CBC-SHA:DHE-PSK-AES128-CBC-SHA:
AES128-SHA:PSK-AES128-CBC-SHA256:PSK-AES128-CBC-SHA
openssql 1.1.1
nginx 1.16
wget https://www.openssl.org/source/openssl-1.1.1g.tar.gz
################################
https://www.howtoforge.com/tutorial/how-to-install-openssl-from-source-on-linux/
sudo apt-get install make
wget https://www.openssl.org/source/openssl-1.0.2l.tar.gz
tar -xzvf openssl-1.0.2l.tar.gz
cd openssl-1.0.2l
./config --prefix=/usr/local/ssl --openssldir=/usr/local/ssl shared zlib
make
make install
ln -sf /usr/local/ssl/bin/openssl
which openssl
openssl version -a
############################################
sudo apt-get install make
cd /opt
wget https://www.openssl.org/source/openssl-1.0.0.tar.gz
tar -xzvf openssl-1.0.0.tar.gz
cd openssl-1.0.0
sudo ./config
make
sudo make install
sudo ln -sf /usr/local/ssl/bin/openssl
which openssl
openssl version -v
##############
sudo apt-get install make
cd /opt
wget https://www.openssl.org/source/openssl-0.9.8zh.tar.gz
tar -xzvf openssl-0.9.8zh.tar.gz
cd openssl-0.9.8zh
sudo ./config
make
sudo make install
sudo ln -sf /usr/local/ssl/bin/openssl
which openssl
openssl version -v
##############################
wget https://nginx.org/download/nginx-1.10.3.tar.gz
tar xzvf nginx-1.10.3.tar.gz
cd nginx-1.10.3
./configure --prefix=/usr/local/nginx
--with-http_ssl_module --with-openssl=/opt/openssl-1.0.2l
################################
./configure
--sbin-path=/usr/local/nginx/nginx
--conf-path=/usr/local/nginx/nginx.conf
--pid-path=/usr/local/nginx/nginx.pid
--with-pcre=../pcre-8.40
--with-zlib=../zlib-1.2.11
--with-http_ssl_module
--with-openssl=/opt/openssl-1.0.2l
--with-stream
--with-mail
make
make install
rm -f /usr/sbin/nginx
ln -s /usr/local/nginx/nginx /usr/sbin/nginx
systemctl daemon-reload
systemctl restart nginx
############################################ 1.14.1
./configure
--sbin-path=/usr/local/nginx/nginx
--conf-path=/usr/local/nginx/nginx.conf
--pid-path=/usr/local/nginx/nginx.pid
--with-pcre=../pcre-8.40
--with-zlib=../zlib-1.2.11
--with-http_ssl_module
--with-openssl=../openssl-1.1.1g
--with-stream
--with-mail
make
make install
rm -f /usr/sbin/nginx
ln -s /usr/local/nginx/nginx /usr/sbin/nginx
systemctl daemon-reload
systemctl restart nginx
https://www.mkssoftware.com/docs/man1/openssl_ciphers.1.asp
https://developers.cloudflare.com/ssl/ssl-tls/cipher-suites/
https://certificatetools.com/
https://topdev.vn/blog/streaming-media-voi-nginx-va-nginx-rtmp-module/
https://videojs.com/getting-started/
################## Streaming server
./configure --sbin-path=/usr/local/nginx/nginx
--conf-path=/usr/local/nginx/nginx.conf
--pid-path=/usr/local/nginx/nginx.pid
--with-pcre=../pcre-8.40
--with-zlib=../zlib-1.2.11
--with-http_ssl_module
--with-openssl=/opt/openssl-1.0.2l
--add-module=../nginx-rtmp-module
--with-stream --with-mail