Skip to content

Instantly share code, notes, and snippets.

View weaponsforge's full-sized avatar
🌴
On vacation

Weapons Forge weaponsforge

🌴
On vacation
View GitHub Profile
@weaponsforge
weaponsforge / openssl
Last active March 25, 2020 00:41 — forked from ciatph/openssl
Create basic self-signed certificates for localhost usage
// Create ssl certificates for localhost use only using openssl
openssl req -nodes -new -x509 -keyout server.key -out server.cert
@weaponsforge
weaponsforge / default nginx configuration file
Created October 31, 2019 09:38 — forked from skbr1234/default nginx configuration file
The default nginx configuration file inside /etc/nginx/sites-available/default
##
# You should look at the following URL's in order to grasp a solid understanding
# of Nginx configuration files in order to fully unleash the power of Nginx.
# http://wiki.nginx.org/Pitfalls
# http://wiki.nginx.org/QuickStart
# http://wiki.nginx.org/Configuration
#
# Generally, you will want to move this file somewhere, and start with a clean
# file but keep this around for reference. Or just disable in sites-enabled.
#