Skip to content

Parametrize apache configuration #286

Open
@TheQuantumPhysicist

Description

@TheQuantumPhysicist

I think it would be great if you guys could parametrize the Apache configurations with environment variables. This will save the users the efforts to edit the Apache configuration manually.

Apache supports environment variables very well in /etc/apache2/envvars. These environment variables can be used in sites-available configuration. For example, instead of the line:

ProxyPassReverse http://YOUR_SERVER_FQDN/

You could make it:

ProxyPassReverse http://${GITLAB_YOUR_SERVER_FQDN}/

And then this can be a variable and I can update my apache configuration without worrying about readjusting the configuration manualy.

Greetings.

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