Re-enable access logs (#6)

This commit is contained in:
Olwe Samuel
2024-10-24 20:38:26 +03:00
committed by GitHub
parent d2c32c5c16
commit 1eb4c1c97d
2 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,7 @@ FROM ubuntu:noble
RUN apt update && apt install nginx -y
# Create healthcheck endpoint
COPY ./nginx.conf /etc/nginx/conf.d/default.conf
COPY ./nginx.conf /etc/nginx/sites-available/default
# Copy static files to the Nginx html directory
COPY ./static /usr/share/nginx/html

View File

@ -2,7 +2,8 @@ server {
listen 80;
listen [::]:80;
server_name localhost;
access_log /dev/stdout;
location / {
root /usr/share/nginx/html;
index index.html index.htm;