Skip to content

Instantly share code, notes, and snippets.

View maljes's full-sized avatar
🍻

Malte Jesgarzewsky maljes

🍻
View GitHub Profile
@maljes
maljes / 2019-https-localhost.md
Created March 23, 2021 16:32 — forked from cecilemuller/2019-https-localhost.md
How to create an HTTPS certificate for localhost domains

How to create an HTTPS certificate for localhost domains

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).

@maljes
maljes / deploy.sh
Created June 15, 2018 06:31 — forked from BenSampo/deploy.sh
Laravel deploy script
# Change to the project directory
cd /home/forge/domain.com
# Turn on maintenance mode
php artisan down
# Pull the latest changes from the git repository
git pull origin master
# Install/update composer dependecies