Menu

1 / 3

How to Configure Nginx as an HTTPS Proxy Server?

DEV Community·Ganesh Kumar·7 months ago
#8iYLGwtq
#setting#devops#security#tutorial#nginx
Reading 0:00
15s threshold

Hello, I'm Ganesh. I'm building git-lrc , an AI code reviewer that runs on every commit. It is free, unlimited, and source-available on Github. Star Us to help devs discover the project. Do give it a try and share your feedback for improving the product.

In previous article we could able to setup basic nginx server and server simple html page.

Now let's setup https for our nginx server.

Requirements

Before we start setting up https we should do the following:

Buy a domain name from any registrar.

Set up dns records to point to our server ip.

Setup Certificate for our domain name.

Install nginx on our server.

Set up nginx server to serve our website.

Buying Domain Name

We can buy domain name from any registrar like Namecheap, GoDaddy, etc.

It depends on which name it is and the charges will be around

Setting Up DNS Records

Once buy setup the dns records to point to our server ip.

Example:

For your server the ip address is [IP_ADDRESS].

And your domain name is [EMAIL_ADDRESS]

So, you need to…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.