Skip to content

How to add custom apache config #49

@Thijmen

Description

@Thijmen

Hi there,

I have a custom apache config that I add to the image:

ADD ./docker/apache/custom.conf /etc/apache2/docker.d/custom.conf

The contents of this file is;

LogFormat "{ \"time\":\"%t\", \"remoteIP\":\"%a\", \"host\":\"%V\", \"request\":\"%U\", \"query\":\"%q\", \"method\":\"%m\", \"status\":\"%>s\", \"userAgent\":\"%{User-agent}i\", \"referer\":\"%{Referer}i\", \"originalUri\": \"%{Plugin-Original-Uri}i\" }" combined

CustomLog ${APACHE_ACCESS_LOG} combined

However, I cannot see the json logs in the terminal when visiting a page. What can I do to achieve this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions