Want more timely Centmin Mod News Updates?
Become a Member

Nginx Redirect from .html to a more friendly look

Discussion in 'Nginx, PHP-FPM & MariaDB MySQL' started by pamamolf, Feb 25, 2016.

  1. pamamolf

    pamamolf Well-Known Member

    2,984
    278
    83
    May 31, 2014
    Ratings:
    +490
    Local Time:
    12:03 PM
    Nginx-1.13.x
    MariaDB 10.1.x
    Hi

    How can i redirect on Nginx from:

    Code:
    /file.html 
    to
    Code:
    /sample/1-file-form
    ?

    Thanks
     
  2. eva2000

    eva2000 Administrator Staff Member

    32,377
    7,185
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +10,932
    Local Time:
    8:03 PM
    Nginx 1.13.x
    MariaDB 5.5