Skip to content

Nginx configurations used in the project-1.0.0 to route and serve HTTP traffic in multi-service environments (frontend and API). It is designed to be used in Docker environments with docker-compose, facilitating microservice integration through dedicated configuration files.

Notifications You must be signed in to change notification settings

Aanttrax/nginx-taskApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🧩 NGINX Configs – project-1.0.0

This repository contains custom configuration files for an NGINX server that is part of the Docker environment for the project-1.0.0. It is designed to route traffic properly to frontend and backend (API) services within a container network.


πŸ“ Included Files

nginx/
β”œβ”€β”€ frontend.conf   # Configuration to route requests to the frontend
└── api.conf        # Configuration to route requests to the API (orchestrator)

πŸ”§ Usage

These configurations are meant to be mounted into the NGINX container as volumes in a Docker Compose setup. Example:

services:
  nginx:
    image: nginx:alpine
    container_name: nginx-project-1.0.0
    volumes:
      - ./nginx/frontend.conf:/etc/nginx/conf.d/frontend.conf
      - ./nginx/api.conf:/etc/nginx/conf.d/api.conf
    ports:
      - "80:80"
    networks:
      - network-project-1.0.0

🧠 Requirements

  • Docker and Docker Compose installed
  • Internal Docker network (network-project-1.0.0)
  • Services referenced in the configs (such as sur-ticket or orchestrator) must be defined in docker-compose.yml

πŸ“Œ Notes

  • If using relative paths, run docker-compose from the root of the project.
  • Use resolver 127.0.0.11 if resolving services inside the Docker network.

πŸ›  Author

This repository is maintained as part of the service ecosystem for the project-1.0.0.

About

Nginx configurations used in the project-1.0.0 to route and serve HTTP traffic in multi-service environments (frontend and API). It is designed to be used in Docker environments with docker-compose, facilitating microservice integration through dedicated configuration files.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published