0 like 0 dislike
31 views
asked in Software by (5.7k points)

How I can to set up error handling for virtual host in Nginx web server?

Your answer

Try to answer the question as detailed as possible.
Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

1 Answer

0 like 0 dislike
answered by (5.7k points)

Somehow like this:

location /error/ {
	alias /sites/site.loc/document_errors/;
}

Related questions

0 like 0 dislike
1 answer 25 views
0 like 0 dislike
1 answer 42 views
0 like 0 dislike
1 answer 27 views
0 like 0 dislike
1 answer 44 views
0 like 0 dislike
1 answer 17 views
0 like 0 dislike
1 answer 247 views
0 like 0 dislike
1 answer 1 view
0 like 0 dislike
1 answer 1 view
0 like 0 dislike
1 answer 2 views
...