2
0

http.server.conf 430 B

12345678910111213141516171819
  1. # the config for srs to serve as http server
  2. # @see full.conf for detail config.
  3. listen 1935;
  4. max_connections 1000;
  5. daemon off;
  6. srs_log_tank console;
  7. http_server {
  8. enabled on;
  9. listen 8080;
  10. dir ./objs/nginx/html;
  11. }
  12. vhost ossrs.net {
  13. http_static {
  14. enabled on;
  15. mount [vhost]/;
  16. dir ./objs/nginx/html;
  17. }
  18. }