supervisord-monitor
supervisord-monitor copied to clipboard
nginx or httpd setup
Hi! I'm having trouble with nginx setup.
nginx: [emerg] open() "/etc/nginx/include/supervisord.add.net/env.conf" failed (2: No such file or directory) in /etc/nginx/nginx.conf:50
Can you provide how-to setup nginx or httpd properly to access the monitor site?
thanks!
server { listen 80 default_server; listen [::]:80 default_server; server_name _; root /var/www/super/public_html;
# Load configuration files for the default server block.
include /etc/nginx/default.d/*.conf;
location / {
try_files $uri $uri/ /index.php;
}
location ~* .php$ { include fastcgi.conf; include include/supervisord.add.net/env.conf; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php;
error_page 404 /404.html;
location = /40x.html {
}
error_page 500 502 503 504 /50x.html;
location = /50x.html {
}
}
}