Skip to content

Apache2 variables - Where to find them #41362

@himuura

Description

@himuura

Sorry to ask in through github but i cannot find any documentation on Owncloud (Docker) to do this.
I'm trying to change apache2 keepalive settings, i can see the file config (apache2.conf) inside the container but everything is wrapped in variables.
My question is, where can i edit those variables, if they are editable?
This is what i was trying to configure:

KeepAlive On
KeepAliveTimeout 3
MaxKeepAliveRequests 200

But my conf file looks like this:
ServerRoot "/etc/apache2"

Mutex file:${APACHE_LOCK_DIR} default
DefaultRuntimeDir ${APACHE_RUN_DIR}
PidFile ${APACHE_PID_FILE}
Timeout ${APACHE_TIMEOUT}
KeepAlive ${APACHE_KEEP_ALIVE}
MaxKeepAliveRequests ${APACHE_MAX_KEEP_ALIVE_REQUESTS}
KeepAliveTimeout ${APACHE_KEEP_ALIVE_TIMEOUT}

User ${APACHE_RUN_USER}
Group ${APACHE_RUN_GROUP}

HostnameLookups ${APACHE_HOSTNAME_LOOKUPS}
AccessFileName ${APACHE_ACCESS_FILE_NAME}

ErrorLog ${APACHE_ERROR_LOG}
LogLevel ${APACHE_LOG_LEVEL}

LogFormat "%a %l %u %t "%r" %>s %O "%{Referer}i" "%{User-Agent}i"" combined
LogFormat "%a %l %u %t "%r" %>s %O "%{Referer}i" "%{User-Agent}i" "%{X-Request-ID}i"" requestid
LogFormat "%a %l %u %t "%r" %>s %O" common

IncludeOptional mods-enabled/.load
IncludeOptional mods-enabled/
.conf

Include ports.conf

Options FollowSymLinks AllowOverride None Require all denied

<Directory /usr/share>
AllowOverride None
Require all granted

<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted

<FilesMatch "^.ht">
Require all denied

IncludeOptional conf-enabled/.conf
IncludeOptional sites-enabled/
.conf

Sorry, yet again and thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions