Skip to content

kevincharbonneau/simple-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-nginx

This repository is a simple setup of nginx.

It can be used to expose a certain server to a Minikube service.

Configuration

First step is to check your service url.

$ minikube service <your_service_name> --url
http://192.168.99.100:30806

You can now download this repository.

git clone https://github.com/kevincharbonneau/simple-nginx.git

Once this is done, you have to modify simple-nginx/nginx.default this way.

proxy_pass http://192.168.99.100:30806;

Running

To run nginx you simply have to execute the following command :

$ cd simple-nginx
$ docker-compose up --build -d

Stopping

To stop nginx you can execute :

$ docker-compose stop
$ docker-compose down

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published