Tag Info

New answers tagged

5

You can use variables and include configuration from files, see Configuration file syntax for the core module. We can use the latter here: $SERVER["socket"] == "0.0.0.0:443" { include "ssl.conf" } $SERVER["socket"] == "[::]:443" { include "ssl.conf" } and then do the configuration in ssl.conf: ssl.engine = "enable" ssl.use-sslv2 = "disable" ...


2

Somewhere in your config, you have this line: debug.log-request-handling = "enable" Comment it out by putting a # in front of it. To find out where it is, you can use grep: grep -nr 'log-request-handling' /etc/lighttpd/*


0

You have some debug options enabled in your configuration. Check your configuration against information on lighttpd debug documentation page and disable any extra debug logging.


1

Each php worker process can handle only one request at a time; each "proc" (in your case 7) usually has a master process (which doesn't handle requests) and PHP_FCGI_CHILDREN (in your case 5) worker process, which makes a total of 35 worker processes. lighttpd allocates a separate socket for each "proc", and each socket has its own request queue. So if it ...


1

Check you don't have any orphaned fcgi handlers, easiest way is to stop lighttpd and then `ps auX' and look for php-cgi. Kill them off if any exist, then start lighty up again. Set up a server-status handler in your lighty config. This will allow you to refresh a page and see all connections currently being handled, and what state they are in.. ...


0

FYI - according to RFC 4329 the proper MIME type for .js files should be "application/javascript".


1

According to wikipedia article on status codes, Nginx has a custom error code when http traffic is sent to https port(error code 497) And according to nginx docs on error_page, you can define a URI that will be shown for a specific error. Thus we can create a uri that clients will be sent to when error code 497 is raised. nginx.conf #lets assume your IP ...


1

Most likely your PHP script has an error. to see more, use php's error logging directive in php-fpm.conf. php_admin_flag[log_errors]=On php_admin_value[error_reporting]=E_ALL php_admin_value[error_log]=/var/log/php-errors.log



Top 50 recent answers are included