I hereby claim:
- I am philiparthurmoore on github.
- I am philip_arthur (https://keybase.io/philip_arthur) on keybase.
- I have a public key ASDeGc4yuS9eZ51l0VwepxhVcgYomlUERiVM1cxyT5Gp3Qo
To claim this, I am signing this object:
Verifying my identity on Peepeth.com 0x65fd47d1d5f8b91059e5d103cbeadd3972e26b1d |
I hereby claim:
To claim this, I am signing this object:
location /redirect/ { | |
rewrite ^/redirect/(.*)$ /redirect/index.php?id=$1 last; | |
} |
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
# Automatically instal the latest nginx | |
wget -O - http://nginx.org/keys/nginx_signing.key | sudo apt-key add - | |
#Make a backup copy of your current sources.list file | |
sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak | |
#Now copy the following repositories to the end of ` /etc/apt/sources.list` | |
echo "deb http://nginx.org/packages/mainline/ubuntu/ trusty nginx" | sudo tee -a /etc/apt/sources.list | |
echo "deb-src http://nginx.org/packages/mainline/ubuntu/ trusty nginx" | sudo tee -a /etc/apt/sources.list |
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.
<?php | |
# SHORTS | |
# DIRECTORY SEPARATOR | |
define( 'DS', DIRECTORY_SEPARATOR ); | |
# PATH SEPARATOR | |
define( 'PS', PATH_SEPARATOR ); | |
# Absolute path to the WordPress directory. | |
! defined( 'ABSPATH' ) | |
AND define( 'ABSPATH', dirname( __FILE__ ).DS ); |
<?php | |
/** | |
* Debugging WordPress things. | |
* | |
* All of this belongs in your wp-config.php file. | |
* | |
* This will make sure that the code you release is, at a minimum, | |
* relatively free of PHP notices and warnings. | |
* | |
* - WP_DEBUG: This turns on debugging mode. |