Understanding Apache Web Server logs

Understanding Apache server logs

In our earlier topic, we have seen how to install with Apache web server, by following let us see how to configure, understanding each directive and understanding logs, etc. It’s very important to understand what it logged in log files during troubleshooting any issues in Apache. How to install Apache Web Server in Red Hat … Read more

Apache virtual host entry to forward non-SSL to SSL for Rails application

Apache virtual host entry to forward non-SSL to SSL for Rails application 1

In the rails application, if we need to forward all non-SSL traffic to SSL traffic we can use below virtual host entry. By default, the rewrite module needs to be enabled in Apache configuration with valid SSL certificates including Chain file. Above VirtualHost entry will forward all non-SSL to SSL.

Allow nginx to upload more than 1 MB file

By default Nginx will allow uploading 1 MB file, By using below directive we can upload up to 10 MB If we need to upload larger than 10 MB just replace 10 with your specified size. client_body_in_file_only clean; client_body_buffer_size 32K; client_max_body_size 10M; Once above directive defined in virtual host restart the Nginx to take effect.