#0000 - 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:
parent
d15bf1c7d3
commit
7d017d7feb
3 changed files with 19 additions and 39 deletions
|
@ -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
|
||||
|
|
Reference in a new issue