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://www.digitalocean.com/community/tutorials/how-to-acquire-a-let-s-encrypt-certificate-using-dns-validation-with-certbot-dns-digitalocean-on-ubuntu-20-04 | |
https://www.humankode.com/ssl/how-to-set-up-free-ssl-certificates-from-lets-encrypt-using-docker-and-nginx | |
-> https://certbot-dns-digitalocean.readthedocs.io/en/stable/ | |
certbot certonly --dns-digitalocean --dns-digitalocean-credentials ~/digitaloceanapikey.ini --preferred-challenges=dns -d=example.com -d=*.example.com | |
nano /etc/nginx/sites-available/x-app | |
ln -s /etc/nginx/sites-available/x-app /etc/nginx/sites-enabled/x-app | |
sudo service nginx configtest | |
sudo service nginx restart |
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
#from https://stackoverflow.com/questions/41322541/rebuild-docker-container-on-file-changes | |
#!/bin/bash | |
imageName=app | |
containerName=app-container | |
docker build -t $imageName -f Dockerfile . | |
echo Delete old container... | |
docker rm -f $containerName |
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
<?php | |
/** | |
* Plugin Name: WP Rename Featured Image | |
* Plugin URI: http://www.briannadeleasa.com | |
* Version: 1.0.0 | |
* Author: Brianna Deleasa | |
* Description: Allows the user to rename the 'Set Featured Image' text and the 'Featured Image' metabox. | |
*/ |