Skip to content

How to set default value in environment variable in nginx conf file #310

@nvignesh86

Description

@nvignesh86

CLI Version: 8.7

Build pack 1.25.5

We are using enviornment value in nginx conf file. some how environment variable empty or null scenario build is failing.
because of "gzip [Not setting any value]". nginx conf format wrong.

Need to give default value for GZIP_DOWNLOADS while fetching in nginx.conf.
Can you please let us know how to give default value for.

image

Expect to happen
Build should be success even environment variable is not setting.

Actual behavior
build is failing in nginx.conf file.

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