0 like 0 dislike
22 views
asked in Software by (4.7k points)

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

Your answer

pre, code

Preview

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 (4.7k points)

Somehow like this:

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

Related questions

0 like 0 dislike
1 answer 19 views
0 like 0 dislike
1 answer 29 views
0 like 0 dislike
1 answer 22 views
0 like 0 dislike
1 answer 42 views
0 like 0 dislike
1 answer 5 views
0 like 0 dislike
1 answer 136 views
0 like 0 dislike
1 answer 8 views
0 like 0 dislike
1 answer 12 views
...