Eddy Goh
Sep 28, 2022

Hi Eddy,

You can add some snippet in Nginx "default.conf" file to redirect all http traffic to https.

if ($http_x_forwarded_proto = "http") {

return 301 https://$host$request_uri;

}

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Eddy Goh
Eddy Goh

Written by Eddy Goh

Entrepreneur in Tech since 2008 | Leading web3, mobile apps, system, 3D & games development | Top Writer in💻Technology |🥇Top Medium Writer | CTO

No responses yet

Write a response