Skip to content

oyvinvo/nginx-reverse-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

nginx-reverse-proxy

Configuration for a reverse proxy using nginx and docker.

Howto

Configure

Edit nginx.conf and replace the servername and port with your own.

Generate a certificate for HTTPS.

sudo openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout cert.key -out cert.crt

Build the docker image

docker build -t nginx-reverse-proxy .

Run

docker run -p 443:443 --name nginx-reverse-proxy -d nginx-reverse-proxy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages