Re: Protect against php files being send as static files

2019-03-05 Thread Francis Daly
On Tue, Mar 05, 2019 at 06:50:54AM -0500, Olaf van der Spek wrote: Hi there, > Is there a way to protect against php files being send as static files / > source due to some php specific configuration being missed (by accident)? > Another web server has this by default: static-file.exclude-extensi

Re: Advice in regards to configuration

2019-03-05 Thread Francis Daly
On Mon, Mar 04, 2019 at 04:30:00PM -0500, Brandon Mallory wrote: Hi there, > I was thinking I could have the windows client point to a public ip and then > a location maybe account number. So it would look like > > Client 1 > public ip/12345 forward to private IP 10.45.2.1 (linux server) > Cli

Protect against php files being send as static files

2019-03-05 Thread Olaf van der Spek
Hi, Is there a way to protect against php files being send as static files / source due to some php specific configuration being missed (by accident)? Another web server has this by default: static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" ) Posted at Nginx Forum: https://forum.nginx.or