Guest User

Untitled

a guest
Jul 29th, 2016
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. nginx 39791 root 6u IPv4 0x940c44dd2ca1aa21 0t0 TCP *:http (LISTEN)
  2. nginx 39792 nobody 6u IPv4 0x940c44dd2ca1aa21 0t0 TCP *:http (LISTEN)
  3. nginx 39793 nobody 6u IPv4 0x940c44dd2ca1aa21 0t0 TCP *:http (LISTEN)
  4. nginx 39794 nobody 6u IPv4 0x940c44dd2ca1aa21 0t0 TCP *:http (LISTEN)
  5. nginx 39795 nobody 6u IPv4 0x940c44dd2ca1aa21 0t0 TCP *:http (LISTEN)
  6.  
  7. worker_processes auto;
  8. error_log /usr/local/etc/nginx/logs/error.log info;
  9.  
  10. events {
  11. worker_connections 1024;
  12. }
  13.  
  14. http {
  15. include mime.types;
  16. default_type application/octet-stream;
  17.  
  18. log_format main '$remote_addr - $remote_user [$time_local] "$request" '
  19. '$status $body_bytes_sent "$http_referer" '
  20. '"$http_user_agent" "$http_x_forwarded_for"';
  21.  
  22. access_log /usr/local/etc/nginx/logs/access.log main;
  23.  
  24. sendfile on;
  25. keepalive_timeout 65;
  26.  
  27. server {
  28. listen *:80;
  29. server_name hoge.example.asia;
  30.  
  31. location / {
  32. root /Users/seioo/Devs/Web/;
  33. index index.html index.htm;
  34. autoindex on;
  35. }
  36. }
  37. }
  38.  
  39. sudo /usr/libexec/ApplicationFirewall/socketfilterfw --add `readlink `which nginx``
  40. sudo /usr/libexec/ApplicationFirewall/socketfilterfw --unblockapp `readlink `which nginx``
Add Comment
Please, Sign In to add comment