mirror of
https://github.com/zylon-ai/private-gpt.git
synced 2025-12-22 23:22:57 +01:00
14 lines
No EOL
442 B
Nginx Configuration File
14 lines
No EOL
442 B
Nginx Configuration File
# Use the official Nginx image as the base
|
|
FROM nginx:latest
|
|
|
|
# Copy the custom Nginx configuration file
|
|
COPY nginx/nginx.conf /etc/nginx/nginx.conf
|
|
|
|
# Copy SSL certificates
|
|
COPY nginx/ssl/giblserver.key /etc/nginx/ssl/giblserver.key
|
|
COPY nginx/ssl/star.gibl.com.np.crt /etc/nginx/ssl/star.gibl.com.np.crt
|
|
# Expose port 80 for incoming HTTP requests
|
|
EXPOSE 80
|
|
|
|
# Start Nginx in the foreground
|
|
CMD ["nginx", "-g", "daemon off;"] |