Fix Nginx No Input File Specified

0 Preface

No input file specified.

This error has troubled me since I was a novice, and I would only delete the station and add it again. However, deleting and adding is not the best solution.

1. Error description

A few days ago, I encountered this problem when migrating across servers. The reason was to directly compress the source server files and decompress them on the new server;

If you use pagoda and change the website directory in file manager, you will also encounter this problem:

The website directory and anti-cross-site settings do not match.

only need to modify

.user.ini

The directory in the file is the current directory, which can perfectly solve this problem.

2, write at the end

I don't know why I read a lot of tutorials, maybe it's to completely avoid problems when others read their tutorials, so I teach everyone to turn off all the anti-cross-site prevention on the website.

I think this is an extremely irresponsible behavior, and you cannot reduce the security of your website just because some Xiaobai may ask such questions.

Therefore, I hope that everyone can carefully screen and judge independently when watching the tutorial.

Fix Nginx No Input File Specified

https://blog.tsinbei.com/en/archives/709/

Author
Hsukqi Lee
Posted on

2023-05-18

Edited on

2023-05-21

Licensed under

CC BY-NC-ND 4.0

Comments

Name
Mail
Site
None yet