nginx.conf 588 B

1234567891011121314151617181920212223242526272829
  1. worker_processes 2;
  2. events {
  3. worker_connections 1024;
  4. }
  5. http {
  6. include mime.types;
  7. default_type application/octet-stream;
  8. sendfile on;
  9. keepalive_timeout 65;
  10. gzip on;
  11. server {
  12. listen 80;
  13. server_name chat.local;
  14. root /usr/local/www/element-v1.7.22;
  15. location /element {
  16. index index.html index.htm;
  17. }
  18. error_page 404 /404.html;
  19. error_page 500 502 503 504 /50x.html;
  20. location = /50x.html {
  21. root /usr/local/www/nginx-dist;
  22. }
  23. }
  24. }