Обновить z1/default.conf
This commit is contained in:
parent
9fee463174
commit
a6a52ced10
@ -4,13 +4,18 @@ server {
|
|||||||
|
|
||||||
server_name localhost;
|
server_name localhost;
|
||||||
|
|
||||||
# Путь до вашего веб-приложения
|
# путь до веб-приложения
|
||||||
|
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
index index.html index.htm;
|
index index.html index.htm;
|
||||||
}
|
}
|
||||||
|
|
||||||
# Для обработки ошибок
|
# для обработки ошибок
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
error_page 404 /404.html;
|
error_page 404 /404.html;
|
||||||
location = /404.html {
|
location = /404.html {
|
||||||
root /usr/share/nginx/html;
|
root /usr/share/nginx/html;
|
||||||
|
Loading…
Reference in New Issue
Block a user