-
Notifications
You must be signed in to change notification settings - Fork 28
nginx won't start #1
Copy link
Copy link
Closed
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels