Skip to content

pomirleanu/nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NGINX Docker Image

Docker container to install and run NGINX.

Build Status

Automated Build

What is NGINX ?

NGINX (High-performance web server or proxy server) is a better alternative APACHE.

Getting image

docker pull pomirleanu/nginx

Basic usage

docker run -v /path/to/your/app:/var/www/html -d pomirleanu/nginx

Running your NGINX Web Server

Running image

Run the NGINX image, mounting a directory from your host.

docker run -it --name nginx -v /path/to/your/app:/var/www/html pomirleanu/nginx

or using Docker Compose:

version: '2'
services:
  nginx:
    container_name: nginx
    image: pomirleanu/nginx
    entrypoint: nginx
    volumes:
      - /path/to/your/app:/var/www/html

Logging

docker logs nginx

or using Docker Compose:

docker-compose logs nginx

About

Docker container to install and run [NGINX](https://www.nginx.com/)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published