mirror of
https://github.com/canonical/canonical-design.git
synced 2025-07-20 16:42:15 +00:00
Re-enable access logs (#6)
This commit is contained in:
@ -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
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user