default.conf 393 B

1234567891011121314151617181920
  1. server {
  2. listen 80;
  3. server_name localhost;
  4. charset utf-8;
  5. location / {
  6. root /usr/share/nginx/html;
  7. index index.html index.htm;
  8. }
  9. #error_page 404 /404.html;
  10. # redirect server error pages to the static page /50x.html
  11. #
  12. error_page 500 502 503 504 /50x.html;
  13. location = /50x.html {
  14. root html;
  15. }
  16. }