Guest User

Untitled

a guest
Feb 22nd, 2018
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.75 KB | None | 0 0
  1. dig @89.42.210.210 fdoc.ir
  2.  
  3. ; <<>> DiG 9.10.3-P4-Ubuntu <<>> @89.42.210.210 fdoc.ir
  4. ; (1 server found)
  5. ;; global options: +cmd
  6. ;; Got answer:
  7. ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4257
  8. ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL:
  9.  
  10. ;; OPT PSEUDOSECTION:
  11. ; EDNS: version: 0, flags:; udp: 4096
  12. ;; QUESTION SECTION:
  13. ;fdoc.ir. IN A
  14.  
  15. ;; ANSWER SECTION:
  16. fdoc.ir. 10800 IN A 89.42.210.210
  17.  
  18. ;; AUTHORITY SECTION:
  19. fdoc.ir. 10800 IN NS ns2.fdoc.ir.
  20. fdoc.ir. 10800 IN NS ns1.fdoc.ir.
  21.  
  22. ;; ADDITIONAL SECTION:
  23. ns1.fdoc.ir. 10800 IN A 89.42.210.210
  24. ns2.fdoc.ir. 10800 IN A 89.42.210.210
  25.  
  26. ;; Query time: 0 msec
  27. ;; SERVER: 89.42.210.210#53(89.42.210.210)
  28. ;; WHEN: Thu Feb 22 16:03:36 EST 2018
  29. ;; MSG SIZE rcvd: 120
  30.  
  31. ; <<>> DiG 9.10.3-P4-Ubuntu <<>> @89.42.210.210 fdoc.ir
  32. ; (1 server found)
  33. ;; global options: +cmd
  34. ;; Got answer:
  35. ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 48479
  36. ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 1
  37.  
  38. ;; OPT PSEUDOSECTION:
  39. ; EDNS: version: 0, flags:; udp: 4096
  40. ;; QUESTION SECTION:
  41. ;fdoc.ir. IN A
  42.  
  43. ;; Query time: 180 msec
  44. ;; SERVER: 89.42.210.210#53(89.42.210.210)
  45. ;; WHEN: Fri Feb 23 00:33:22 +0330 2018
  46. ;; MSG SIZE rcvd: 36
  47.  
  48. # You should look at the following URL's in order to grasp a solid understanding
  49. # of Nginx configuration files in order to fully unleash the power of Nginx.
  50. # http://wiki.nginx.org/Pitfalls
  51. # http://wiki.nginx.org/QuickStart
  52. # http://wiki.nginx.org/Configuration
  53. #
  54. # Generally, you will want to move this file somewhere, and start with a clean
  55. # file but keep this around for reference. Or just disable in sites-enabled.
  56. #
  57. # Please see /usr/share/doc/nginx-doc/examples/ for more detailed examples.
  58. ##
  59.  
  60. # Default server configuration
  61. #
  62. server {
  63. listen 80;
  64. listen [::]:80;
  65.  
  66. # SSL configuration
  67. #
  68. # listen 443 ssl default_server;
  69. # listen [::]:443 ssl default_server;
  70. #
  71. # Note: You should disable gzip for SSL traffic.
  72. # See: https://bugs.debian.org/773332
  73. #
  74. # Read up on ssl_ciphers to ensure a secure configuration.
  75. # See: https://bugs.debian.org/765782
  76. #
  77. # Self signed certs generated by the ssl-cert package
  78. # Don't use them in a production server!
  79. #
  80. # include snippets/snakeoil.conf;
  81.  
  82. root /var/www/fdoc.ir/html/public;
  83.  
  84. # Add index.php to the list if you are using PHP
  85. index index.php index.html index.htm index.nginx-debian.html;
  86.  
  87. server_name fdoc.ir www.fdoc.ir;
  88.  
  89.  
  90. location / {
  91. try_files $uri $uri/ /index.php?$query_string;
  92. }
  93.  
  94. location ~ .php$ {
  95. fastcgi_pass unix:/run/php/php7.1-fpm.sock;
  96. include snippets/fastcgi-php.conf;
  97. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  98. }
  99.  
  100. location ~ /.ht {
  101. deny all;
  102. }
  103.  
  104. # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
  105. #
  106. #location ~ .php$ {
  107. # include snippets/fastcgi-php.conf;
  108. #
  109. # # With php7.0-cgi alone:
  110. # fastcgi_pass 127.0.0.1:9000;
  111. # # With php7.0-fpm:
  112. # fastcgi_pass unix:/run/php/php7.0-fpm.sock;
  113. #}
  114.  
  115. # deny access to .htaccess files, if Apache's document root
  116. # concurs with nginx's one
  117. #
  118. #location ~ /.ht {
  119. # deny all;
  120. #}
  121. }
  122.  
  123.  
  124. # Virtual Host configuration for example.com
  125. #
  126. # You can move that to a different file under sites-available/ and symlink that
  127. # to sites-enabled/ to enable it.
  128. #
  129. #server {
  130. # listen 80;
  131. # listen [::]:80;
  132. #
  133. # server_name example.com;
  134. #
  135. # root /var/www/example.com;
  136. # index index.html;
  137. #
  138. # location / {
  139. # try_files $uri $uri/ =404;
  140. # }
  141. #}
  142.  
  143. 127.0.0.1 localhost
  144. 127.0.1.1 ubuntu
  145. 89.42.210.210 fdoc.ir www.fdoc.ir
Add Comment
Please, Sign In to add comment