https://github.com/aanttrax/nginx-taskapp
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.
https://github.com/aanttrax/nginx-taskapp
nginx nginx-configuration nginx-server
Last synced: 9 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/aanttrax/nginx-taskapp
- Owner: Aanttrax
- Created: 2025-04-20T23:58:38.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2025-04-21T00:38:24.000Z (9 months ago)
- Last Synced: 2025-04-23T03:56:45.761Z (9 months ago)
- Topics: nginx, nginx-configuration, nginx-server
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 🧩 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:
```yaml
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`.