- Reorganize and enhance the NGINX configuration structure

Introduce a refined NGINX configuration template with user, worker settings, and modular include directives. This improves clarity and allows easier integration of additional configuration files, while maintaining existing CORS settings.
This commit is contained in:
Guillaume "B.B." Van Hemmen 2024-10-21 10:18:32 +02:00
parent d15bf1c7d3
commit 7d017d7feb
Signed by: GuillaumeHemmen
GPG key ID: 7921E64524F7EB35
3 changed files with 19 additions and 39 deletions

View file

@ -5,7 +5,7 @@ FROM nginx:alpine3.20
COPY dist /usr/share/nginx/html
# Copy custom Nginx configuration file to the container
COPY nginx.conf /etc/nginx/nginx.conf
COPY nginx-extra.conf /etc/nginx/conf.d/nginx-extra.conf
# Expose the port that the application is running on
EXPOSE 80