Skip to content

Instantly share code, notes, and snippets.

In this document, I will guide you how to implement SSL with Nginx in Ubuntu.

Menu

  • Config requirements system
    • Install Nginx + MySQL + PHP-FPM
    • Some potentials bugs while installation
  • Enable https in Nginx

Step 1 : Config requirements system

@nguyenanhtu
nguyenanhtu / SSLXampp.md
Last active January 20, 2024 23:35
Guide to configure SSL in XAMPP for Windows

How to test 'https' in XAMPP for localhost ? I will guide you

Menu

  • Create certificate
  • Config Apache to access https instead of http
  • Config mod rewrite to generate SSL url
  • Config Virtual host to test site

Step 1 : Create certificate

  • Go to your XAMPP installation directory (in my case it’s E:\xampp), figure out apache folder. In this, find & run batch file
@nguyenanhtu
nguyenanhtu / gist:4dbf699faec11a668967712184e4ebf1
Created November 22, 2016 07:08
Guide to configure SSL in XAMPP
### How to test 'https' in XAMPP for localhost ? I will guide you
*Step 1 : Go to your XAMPP installation directory (in my case it’s E:\xampp), figure out apache folder
![Step 1 image](http://imgur.com/a/BQF19)
*Step 2 : In this folder, run this batch file named “makecert.bat” :
![Step 2 image](http://imgur.com/a/pqnXu)