• Support
  • settings2python4fpm-php+ngingx

How to
(1) allow client browser users only to view Python source files at fpm-php+nginx sites
and to
(2) prevent
(a) downloading ?
(c) executing Python files ?

(3) and do settings need to be done
(a) for each folder ?
(b) only once for all application files ?
and
(4) is the fpm nginx standard setting
security.limit.extension = .php
(a) set as above for applications?
(b) available to set for shell users ?

We do not have configurable filetypes for PHP-FPM+Nginx apps at this time. I'll open an feature request to see if we can implement that for you.

Your Python files will not execute on the server under PHP-FPM, no concern there.

security.limit_extension is set at the default value (.php and .phar).

    sean thanks, looking forward to let clients view Python source files with their browsers - important asset for us to offer, the same solution as in WebFaction server will do.

    Mastodon