This gist is based off the fedoramagazine article about NetworkManager's dnsmasq plugin
$ cat /etc/NetworkManager/conf.d/00-use-dnsmasq.conf# Enables the dnsmasq plugin.
[main]
dns=dnsmasq
| <?php | |
| /* | |
| * dl-file.php | |
| * | |
| * Protect uploaded files with login. | |
| * | |
| * @link http://wordpress.stackexchange.com/questions/37144/protect-wordpress-uploads-if-user-is-not-logged-in | |
| * | |
| * @author hakre <http://hakre.wordpress.com/> | |
| * @license GPL-3.0+ |
This gist is based off the fedoramagazine article about NetworkManager's dnsmasq plugin
$ cat /etc/NetworkManager/conf.d/00-use-dnsmasq.conf# Enables the dnsmasq plugin.
[main]
dns=dnsmasq
This focuses on generating the certificates for loading local virtual hosts hosted on your computer, for development only.
Do not use self-signed certificates in production ! For online certificates, use Let's Encrypt instead (tutorial).
edit /etc/hosts add my.
If you want to use a reserved TLD like test for local development, read one of the following: