Welcome Guest, Not a member yet? Register   Sign In
Tutorial problem with NGINX...?
#10

Some are taking from tutorials/documentations and some I have adapted myself. Like disabling logging of images, favicon etc.

Taken from that documentation "If Is Evil": There are cases where you simply cannot avoid using an if, for example, if you need to test a variable which has no equivalent directive.
PHP Code:
if ($request_method POST ) {
 
 return 405;


I'm not using DELETE, PUT, SEARCH etc so if someone sends that I just drop it.

https://nginx.org/en/docs/
https://www.nginx.com/resources/wiki/sta...s/phpfcgi/
https://www.nginx.com/resources/wiki/sta...wordpress/

Try if this one works for you, as it's their default recommendations. And later on add modifications.
https://www.nginx.com/resources/wiki/sta...deigniter/
Reply


Messages In This Thread
Tutorial problem with NGINX...? - by ryan_f - 04-03-2018, 01:24 PM
RE: Tutorial problem with NGINX...? - by ryan_f - 04-03-2018, 03:59 PM
RE: Tutorial problem with NGINX...? - by InsiteFX - 04-04-2018, 02:41 AM
RE: Tutorial problem with NGINX...? - by jreklund - 04-04-2018, 04:51 AM
RE: Tutorial problem with NGINX...? - by ryan_f - 04-04-2018, 08:16 AM
RE: Tutorial problem with NGINX...? - by InsiteFX - 04-04-2018, 02:06 PM
RE: Tutorial problem with NGINX...? - by ryan_f - 04-05-2018, 09:37 AM
RE: Tutorial problem with NGINX...? - by jreklund - 04-05-2018, 10:36 AM
RE: Tutorial problem with NGINX...? - by ryan_f - 04-05-2018, 11:51 AM
RE: Tutorial problem with NGINX...? - by jreklund - 04-05-2018, 01:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB