Welcome! Log In Create A New Profile

Advanced

Re: Protect against php files being send as static files

March 12, 2019 04:53AM
Ian Hobson Wrote:
> http://forumm.nginx.org/read.php?2,88846,page 3

This link doesn't work..

> 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.
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: 74
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