Setup nginx with apache in ubuntu

Read PHP file Apache & Nginx 1) add the following code in the file “sudo nano /etc/nginx/sites-enabled/default” location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/run/php/php7.1-fpm.sock; } location ~ /\.ht { deny all; } 2) And also change the port as per your need server { listen 8080 default_server; listen [::]:8080 default_server; } 3)┬áSetup PHPMyAdRead More…

Free SSL

Install free and secure your website sudo a2enmod ssl sudo service apache2 restart sudo add-apt-repository ppa:certbot/certbot sudo apt-get update sudo apt-get install python-certbot-apache sudo certbot –apache -d linuxguru.co.in Enter Email ID admin@linuxuguru.co.in sudo nano /etc/apache2/sites-available/000-default-le-ssl.conf(Add Line) SSLCertRead More…

Apache web server

Introduction A “LAMP” stack is a group of open-source software that is typically installed together to enable a server to host dynamic websites and web apps. This term is actually an acronym which represents the Linux operating system, with the Apache web server. The site data is stored in a MySQL database, and dynamic content is processed by PHP. In this guide, we’ll get a LAMP stack installed Read More…