M
M
mozart13372016-06-23 23:30:00
Nginx
mozart1337, 2016-06-23 23:30:00

How to give a file to nginx?

Hello. How to give the index.html file in this case, when the client has switched to the default path / ?
location = / {
root <how to give the index.html file here>; ?
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2016-06-24
@Nc_Soft

location = / {
root ....
index index.html;
}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question