Guest User

Untitled

a guest
Jan 2nd, 2017
160
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ##
  2. # You should look at the following URL's in order to grasp a solid understanding
  3. # of Nginx configuration files in order to fully unleash the power of Nginx.
  4. # http://wiki.nginx.org/Pitfalls
  5. # http://wiki.nginx.org/QuickStart
  6. # http://wiki.nginx.org/Configuration
  7. #
  8. # Generally, you will want to move this file somewhere, and start with a clean
  9. # file but keep this around for reference. Or just disable in sites-enabled.
  10. #
  11. # Please see /usr/share/doc/nginx-doc/examples/ for more detailed examples.
  12. ##
  13. # Default server configuration
  14. #
  15. server {
  16. listen 80 default_server;
  17. listen [::]:80 default_server;
  18. # SSL configuration
  19. #
  20. # listen 443 ssl default_server;
  21. # listen [::]:443 ssl default_server;
  22. #
  23. # Self signed certs generated by the ssl-cert package
  24. # Don't use them in a production server!
  25. #
  26. # include snippets/snakeoil.conf;
  27. root /var/www/html;
  28. # Add index.php to the list if you are using PHP
  29. index.php
  30. server_name www.streamingeverywhere.com
  31. #location / {
  32. # # First attempt to serve request as file, then
  33. # # as directory, then fall back to displaying a 404.
  34. # try_files $uri $uri/ =404;
  35. #}
  36. #
  37. # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
  38. #
  39. #location ~ \.php$ {
  40. # include snippets/fastcgi-php.conf;
  41. #
  42. # # With php5-cgi alone:
  43. # fastcgi_pass 127.0.0.1:9000;
  44. # # With php5-fpm:
  45. # fastcgi_pass unix:/var/run/php5-fpm.sock;
  46. #}
  47.  
  48. # deny access to .htaccess files, if Apache's document root
  49. # concurs with nginx's one
  50. #
  51. #location ~ /\.ht {
  52. # deny all;
  53. #}
  54. }
  55. # Virtual Host configuration for example.com
  56. #
  57. # You can move that to a different file under sites-available/ and symlink that
  58. # to sites-enabled/ to enable it.
  59. #
  60. #server {
  61. # listen 80;
  62. # listen [::]:80;
  63. #
  64. # server_name example.com;
  65. #
  66. # root /var/www/example.com;
  67. # index index.html;
  68. #
  69. # location / {
  70. # try_files $uri $uri/ =404;
  71. # }
  72. #}
RAW Paste Data