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)
