WHats the equivalent of .htaccess for nginx servers?

This section is for posting questions which are not directly related to WYSIWYG Web Builder.
Examples of off topics: web server configuration, hosting, programming related questions, third party scripts.

Note that these questions will generally not be answered by the administrators of this forum.
Post Reply
alan_sh
 
 
Posts: 1747
Joined: Tue Jan 01, 2019 5:50 pm

WHats the equivalent of .htaccess for nginx servers?

Post by alan_sh »

I use .htaccess to manage things like error 404's. It works fine with Alache servers. But not with nginx servers. Is there an equivalent for that type of server?

Alan
PS - Merry Christmas.
User avatar
jerryco
 
 
Posts: 873
Joined: Fri Mar 27, 2009 2:42 pm
Location: Purmerend, Holland

Re: WHats the equivalent of .htaccess for nginx servers?

Post by jerryco »

// Love is the acceptance of nothing / Account age is no guarantee of efficiency ;-) ->

Above, Beyond, and @wwonderfull! <- Genuinely helps you with a powered up site that counts! Four Times Excellence!
User avatar
miguelss
 
 
Posts: 143
Joined: Thu Aug 15, 2013 12:25 pm
Location: Madrid, Spain

Re: WHats the equivalent of .htaccess for nginx servers?

Post by miguelss »

There are some webs that helps you to translate it. Here is an example: https://winginx.com/en/htaccess
alan_sh
 
 
Posts: 1747
Joined: Tue Jan 01, 2019 5:50 pm

Re: WHats the equivalent of .htaccess for nginx servers?

Post by alan_sh »

Thanks.
Post Reply