Webinoly is just the perfect tool for NGINX experts. Give it a try!
0 votes
139 views
by Rookie
closed by

Hello, I have bought a script which is mainly targeted for apache and needs some mods in order to work on nginx. The developer sent me instructions to make it work but I can not find the locations in Webinoly. Here are the instructions:

first in php-fpm (/etc/php-fpm.d/www.conf) change:

"security.limit_extensions"

to: "security.limit_extensions = .php .php3 .php4 .php5 .php7 .txt"
(this only needs to be done one time)

then when setting up a domain in /etc/nginx/nginx.conf, simply change:

location ~ \.php$ {

to:

location ~ \.(php|txt)$ {

Thank you very much !!!!

closed with the note: This question does not show any research effort; it's unclear or not useful.
Welcome to the Community site for Webinoly.

Our Optimized LEMP Web Server is a powerful set of commands for doing just about anything you could wish.

With Webinoly you can set up your NGINX web server in just one step.

* * * * * * *

To report a bug, please create a new issue on GitHub or ask a question here with the bug tag.
Webinoly Support Paypal Donations

PayPal · GitHub Sponsors · Bitcoin

It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.

...