Skip to content

Instantly share code, notes, and snippets.

View Asim-Tahir's full-sized avatar
:shipit:

Asım Tahir Asim-Tahir

:shipit:
  • Turkey
  • 06:19 (UTC +03:00)
View GitHub Profile
@Asim-Tahir
Asim-Tahir / README.md
Last active December 5, 2021 09:19
Based on oh-my-zsh's docker-compose plugin.
@Asim-Tahir
Asim-Tahir / nginx.conf
Created May 5, 2021 15:24
Single Page Application NGINX config
user nginx;
worker_processes 1;
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
events {
worker_connections 1024;
}
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
@Asim-Tahir
Asim-Tahir / README.md
Created March 18, 2021 17:09 — forked from gistfrojd/README.md
README.md example (this file has moved to https://github.com/Frojd/Manual)

Project name

A short introduction to your project here, what it is built in and what cms/framework etc it is using.

Requirements

This section is optional if there isn't any special dependencies. Else a bulletlist will suffice, e g:

  • Node.js
  • Mongodb
  • Amazon S3 access
[wsl2]
memory=2GB
swap=0
processors=2
localhostForwarding=true
navigator.userAgent.split(')').reverse()[0].match(/(?!Gecko|Version|[A-Za-z]+?Web[Kk]it)[A-Z][a-z]+\/[\d.]+/g)[0].split('/').toString().replace(',', ': ')

Create Root CA (Done once)

Create Root Key

Attention: this is the key used to sign the certificate requests, anyone holding this can sign certificates on your behalf. So keep it in a safe place!

openssl genrsa -des3 -out rootCA.key 4096