docker-static/conf/default.conf

17 lines
403 B
Plaintext
Raw Normal View History

2019-08-10 20:46:44 +00:00
server {
listen 80;
server_name _;
location / {
root /srv;
try_files $uri /index.html =404;
}
error_page 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 420 422 423 424 426 428 429 431 444 449 450 451 /error.html;
error_page 500 501 502 503 504 505 506 507 508 509 510 511 /error.html;
location = /error.html {
internal;
root /usr/local/nginx/html;
}
}