Skip to content

nginx won't start #1

@echeadle

Description

@echeadle

When I restart or run sudo nginx -t I get the error:

nginx: [emerg] unknown directive "if(!-f" in /etc/nginx/conf.d/flaskdeploy.conf:47

The line that is having issues is:

if (!-f $request-filename) {

Is there a typo in this line? I am checking other sources but so far I have not been able to figure out what is needed here.

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