mirror of
https://github.com/canonical/canonical-design.git
synced 2025-07-22 18:26:14 +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
|
RUN apt update && apt install nginx -y
|
||||||
|
|
||||||
# Create healthcheck endpoint
|
# 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 files to the Nginx html directory
|
||||||
COPY ./static /usr/share/nginx/html
|
COPY ./static /usr/share/nginx/html
|
||||||
|
@ -2,7 +2,8 @@ server {
|
|||||||
listen 80;
|
listen 80;
|
||||||
listen [::]:80;
|
listen [::]:80;
|
||||||
server_name localhost;
|
server_name localhost;
|
||||||
|
access_log /dev/stdout;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
index index.html index.htm;
|
index index.html index.htm;
|
||||||
|
Reference in New Issue
Block a user