A
A
Ayk722017-01-14 23:56:06
Nginx
Ayk72, 2017-01-14 23:56:06

How to change domain in URL?

Hello!
There are 2 sites on 1 server, I want to give access to 1 site, to the folder of the 2nd site.
Those. on the 2nd site there is a folder /images/ - 20 gigs of pictures are stored there. Those. available at: site2.ru/images/
I want to organize so that 1 site can also open the second folder like this: site1.ru/images/
How to do it? Is there a rule or not?
Apache + nginx

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Ayk72, 2017-01-15
@Ayk72

Thanks to all! Solved the problem by adding Alias ​​to httpd.conf

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question