Answer the question
In order to leave comments, you need to log in
Nginx is serving static. How to add an exception for one specific file in nginx.conf?
Nginx is front
location ~* \.(png|txt|jpg|...)$ {...}
How to make it pass only robots.txt to Apache? And the rest of the .txt files processed in the normal mode
Answer the question
In order to leave comments, you need to log in
Create a location for robots.txt, configure proxying in it and raise it in the configuration file above location for all txt files.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question