Answer the question
In order to leave comments, you need to log in
Nginx https, how to redirect to file over http only?
Hello everyone, I have a site, it works on https, I need to make it so that, for example, the archive.zip file opens on http and the site still works on https. For example: there is a file /download/archive.zip
when I go to http://domain.com/download/archive.zip
it, it redirects me to https://domain.com/download/archive.zip
and I need it to behttp://domain.com/download/archive.zip
Answer the question
In order to leave comments, you need to log in
in the section related to port 80 write location /download/archive.zip and you will be happy
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question