B
B
BlagoYar Silence2022-04-17 22:55:19
Nginx
BlagoYar Silence, 2022-04-17 22:55:19

How to limit tpl loading on server with nginx?

I have a site, on a certain engine.
I ordered an individual expensive template for this engine.
Now the layout designer tells me ".tpl files should be restricted for downloading via http, so that our template is not downloaded, because there is a bug in nginx" Is
this even possible for the site to remain working?
If yes, how to do it?

PS. The site works via https.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
K
ky0, 2022-04-17
@ky0

You have a bug in the coder, not in nginx.
Restricting access by file extension is easy - just add the appropriate location.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question