Skip to content

Instantly share code, notes, and snippets.

View namhikelo's full-sized avatar
😀
Hello

PHAN HOANG NAM namhikelo

😀
Hello
View GitHub Profile
@namhikelo
namhikelo / http.conf
Last active November 20, 2023 11:14
Config SSL for event CTFd
worker_processes 4;
events {
worker_connections 1024;
}
http {
# Configuration containing list of application servers
@namhikelo
namhikelo / install.sh
Created October 10, 2023 18:10
Install LUA in nginx
# ROOT
if [ "$EUID" -ne 0 ]; then
echo "RUN AS ROOT ^^!"
exit 1
fi
# Update
sudo apt update
# Pakage requirement
@namhikelo
namhikelo / SSL-nginx-Docker.md
Created May 19, 2023 14:01 — forked from dahlsailrunner/SSL-nginx-Docker.md
SSL with Docker images using nginx as reverse proxy

Docker with SSL and an nginx reverse proxy

Running your ASP.NET Core (or other) application in Docker using SSL should not be an overwhelming task. These steps should do the trick.

Run the following steps from a Linux terminal (I used WSL or WSL2 on Windows from the Windows Terminal).

1. Create a conf file with information about the cert you'll be creating

It should look something like the content below; call it my-site.conf or something like that.