A
A
ajky2016-08-08 22:32:24
Nginx
ajky, 2016-08-08 22:32:24

How to set up the server so that Yii2 uses the symlink generated by capistrano?

After sending to the server, the current and releases folders are created (inside which are folders with releases), current is a symlink to the release folder.
I have no idea what to configure, I tried through apache, but it did not work out.
yii2 advanced, nginx+apache

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey Skobkin, 2016-08-08
@ajky

And what's the problem? Show configs, we will look for errors.
Or do you want your thoughts to be read or something?

P
Pavel Gogolinsky, 2016-08-09
@gogolinsky

On the server, tell Apache to look for the index file in the /current/web folder

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question