Tutorial

[Tutorial] NGINX SSL Redirect

catatan pribadi aja, mau diliat atau gak, terserah

setting this rewrite script at nginx conf.d = *.conf


Logic script rewrite nginx configuration http to https

if ($scheme = http) {
return 301 https://$server_name$request_uri;
}

other script, url location without prefix format file (.html / .php)

location /name-page {
try_files $uri $uri/ /name-page.php;
}

Rewrite NGINX Redirect link

rewrite ^/nama-link$ https://url-link.com redirect;

other script will be added shortly (maybe, if i mood)

Related Article

Pradja DJ

M untuk Mini dan W untuk Wumbo

Leave a Reply

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Check Also
Close
Back to top button
Advertisment ad adsense adlogger