Skip to content
README.md 1.01 KiB
Newer Older
# Nginx Configuration


## Building and Running Docker Compose

1. Ensure Docker and Docker Compose are installed on your machine. If not, you can download them from the official Docker website.

2. Navigate to the directory containing the `docker-compose.yaml` file.

3. Build the Docker Compose file using the following command:

```sh
docker-compose build
```

4. Run the Docker Compose file using the following command:

```sh
docker-compose up
```

## Available Routes

Based on the `nginx.conf` file, the following routes are available:

1. `/projet1`: This route proxies to `http://157.26.83.14:8081/projet1`.
2. `/projet2`: This route proxies to `http://157.26.83.14:8099/projet2`.

Please note that these routes are accessible via the domain `tic.ing.he-arc.ch` on port `443` (HTTPS).

## Important Note

The SSL certificate and key are expected to be in the `/nginx/ssl/` directory. These files are ignored by Git as per the `.gitignore` file. Make sure to place your `bundle.crt` and `tic_ing.key` files in this directory.