Ian Hobson
March 12, 2019 04:56PM
Hi,

On 12/03/2019 08:53, Olaf van der Spek wrote:
> Ian Hobson Wrote:
>> http://forumm.nginx.org/read.php?2,88846,page 3
>
> This link doesn't work..
Sorry - typo (made months ago)
https://forum.nginx.org/read.php?2,88845,page=3
>
>> try_files $uri =404;
>> fastcgi_split_path_info ^(.+\.php)(/.+)$;
>> include /etc/nginx/fastcgi_params;
>> fastcgi_param SCRIPT_FILENAME
>> $document_root$fastcgi_script_name;
>> fastcgi_pass 127.0.0.1:9000;
>> }
>> }
>
> Unix sockets are recommended over TCP AFAIK.
Yup - this config was a copy.paste job.
I have never understood why.

--
Ian Hobson
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Protect against php files being send as static files

Olaf van der Spek March 05, 2019 06:50AM

Re: Protect against php files being send as static files

Francis Daly March 05, 2019 07:00PM

Re: Protect against php files being send as static files

Olaf van der Spek March 12, 2019 04:45AM

Re: Protect against php files being send as static files

Ian Hobson March 06, 2019 07:02AM

Re: Protect against php files being send as static files

Olaf van der Spek March 12, 2019 04:53AM

Re: Protect against php files being send as static files

Ian Hobson March 12, 2019 04:56PM

Re: Protect against php files being send as static files

Olaf van der Spek March 26, 2019 10:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 312
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready