Open Danrancan opened 1 year ago
@Danrancan were you able to solve this ? “VirtualHost” is an Apache term. NGINX does not have Virtual hosts, it has “Server Blocks” that use the server_name and listen directives to bind to tcp sockets. Take a look to an example https://www.nginx.com/resources/wiki/start/topics/examples/server_blocks/ pertaining to configs.
By seeing error, it seems directives in config are not correctly used in a context e.g. ('events',) ('http', 'server')
In my amplify web interface I am getting the same error for many nginx virtual host .conf files:
In my Nginx error logs I am getting the following errors for multiple virtual hosts:
What could be causing these errors, and how can I debug and fix them? Thanks