I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
| FROM ubuntu:16.04 | |
| # Set the env variable DEBIAN_FRONTEND to noninteractive | |
| ARG DEBIAN_FRONTEND=noninteractive | |
| ARG LC_ALL=C.UTF-8 | |
| # Set the locale | |
| RUN apt-get clean && apt-get update && apt-get install -y locales | |
| # Set the locale |
| // Place your settings in this file to overwrite the default settings | |
| { | |
| "editor.fontFamily": "Operator Mono Lig Book, Consolas, 'Courier New', monospace", | |
| "editor.fontLigatures": true, | |
| "editor.renderWhitespace": "all", | |
| "editor.fontSize": 13, | |
| "terminal.integrated.fontSize": 12, | |
| "terminal.integrated.fontFamily": "Monaco for Powerline", | |
| "workbench.colorTheme": "Operator Mono Dark Theme", | |
| "sublimeTextKeymap.promptV3Features": true, |
| #!/bin/bash | |
| curl -X GET -H "Origin: http://example.com" --verbose http://foo.com/bar | |
| curl -X POST -H "Origin: http://example.com" --verbose http://foo.com/bar | |
| curl -X PUT -H "Origin: http://example.com" --verbose http://foo.com/bar |
| { | |
| "always_show_minimap_viewport": true, | |
| "bold_folder_labels": true, | |
| "caret_style": "phase", | |
| "color_scheme": "Packages/Material Theme/schemes/Material-Theme-Darker.tmTheme", | |
| "fade_fold_buttons": false, | |
| "font_face": "monaco", | |
| "font_options": | |
| [ | |
| // "subpixel_antialias" |
| server { | |
| client_body_in_file_only clean; | |
| client_body_buffer_size 32K; | |
| client_max_body_size 300M; | |
| sendfile on; | |
| send_timeout 300s; | |
| # Port that the web server will listen on. | |
| #listen 80; |
I use Namecheap.com as a registrar, and they resale SSL Certs from a number of other companies, including Comodo.
These are the steps I went through to set up an SSL cert.
| # trying to install PPA behind firewall fails: | |
| $ sudo add-apt-repository ppa:chris-lea/node.js | |
| gpg: requesting key C7917B12 from hkp server keyserver.ubuntu.com | |
| gpgkeys: HTTP fetch error 7: couldn't connect to host | |
| gpg: no valid OpenPGP data found. | |
| gpg: Total number processed: 0 | |
| recv failed | |
| # this is how you get around it (use the key from the command above) | |
| $ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C7917B12 |
| # to generate your dhparam.pem file, run in the terminal | |
| openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| # Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
| VAGRANTFILE_API_VERSION = "2" | |
| Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
| config.ssh.username = "vagrant" | |
| config.ssh.password = "vagrant" | |
| config.vm.box = "trusty64" |
| server { | |
| # Listen on port 80 for any IPv4 address on this server | |
| # listen docs: http://wiki.nginx.org/HttpCoreModule#listen | |
| listen 80; | |
| # Listen on only the selected hostname... | |
| server_name <HOSTNAME>; | |
| # ...or use the catchall character if you want to handle multiple hostnames | |
| # server_name _; |