nginx failed to start ("set" directive is not allowed here)
Linode
Linode Staff
I'm seeing the following message in my boot logs:
Starting nginx… nginx: [emerg] "set" directive is not allowed here in /usr/local/nginx/conf/example.conf:17
failed
1 Reply
Britchey
Linode Staff
I would need to see how this is actually configured but it looks like the "set" directive can only be used in the server, location, and if blocks: