Quick reference for SSL certificate workflow handling for commonly used commercial SSL products
- Generate a new private key
mkdir ~/Sites/my_sitecd ~/Sites/my_sitegit initgit add comments.rbgit commit -m 'first commit'vim comments.rbgit statusgit checkoutThis is a TL;DR of the standard and semistandard JavaScript rules. For more detailed explanations, see standard's rules documentation.
| <ul class="organiser__group organiser__group--sort"> | |
| <%= content_tag(:li, class: ("active" if params[:sort] == "park" || params[:sort] == nil)) do %> | |
| <%= link_to "By Park", coasters_path(sort_parameters(:park, page: 1)), remote: true %> | |
| <% end %> | |
| <%= content_tag(:li, class: ("active" if params[:sort] == "alphabetically")) do %> | |
| <%= link_to "Alphabetically", coasters_path(sort_parameters(:alphabetically, page: 1)), remote: true %></li> | |
| <% end %> | |
| <%= content_tag(:li, class: ("active" if params[:sort] == "order")) do %> |
I followed this tutorial by Johnathan Leppert and the instructions from nginx_tcp_proxy_module but changed nginx to use passenger and thin.
tcp {
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
New Server Setup (Reasonably Secure Ubuntu Box)
Basic setup for a new box:
blocks password logins - need to use public key blocks bruteforcing w/ fail2ban ufw/iptables to allow only SSH/HTTP/HTTPS from public weekly auto security updates vi unattended-upgrades basic setup