Guest User

Untitled

a guest
Jan 23rd, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.10 KB | None | 0 0
  1. 2019/01/23 20:23:53 [error] 2532#2532: *1 recv() failed (104: Connection
  2. reset by peer) while reading response header from upstream, client:
  3. 192.168.10.1, server: eatthis.test, request: "GET / HTTP/1.1", upstream:
  4. "fastcgi://unix:/var/run/php/php7.3-fpm.sock:", host: "eatthis.test"
  5.  
  6. 2019/01/23 20:24:03 [error] 2532#2532: *1 recv() failed (104: Connection
  7. reset by peer) while reading response header from upstream, client:
  8. 192.168.10.1, server: eatthis.test, request: "GET / HTTP/1.1", upstream:
  9. "fastcgi://unix:/var/run/php/php7.3-fpm.sock:", host: "eatthis.test"
  10.  
  11. server {
  12. listen 80;
  13. listen 443 ssl http2;
  14. server_name .eatthis.test;
  15. root "/home/vagrant/code/Laravel/public";
  16.  
  17. index index.html index.htm index.php;
  18.  
  19. charset utf-8;
  20.  
  21.  
  22.  
  23. location / {
  24. try_files $uri $uri/ /index.php?$query_string;
  25.  
  26. }
  27.  
  28.  
  29.  
  30. location = /favicon.ico { access_log off; log_not_found off; }
  31. location = /robots.txt { access_log off; log_not_found off; }
  32.  
  33. access_log off;
  34. error_log /var/log/nginx/eatthis.test-error.log error;
  35.  
  36. sendfile off;
  37.  
  38. client_max_body_size 100m;
  39.  
  40. location ~ .php$ {
  41. fastcgi_split_path_info ^(.+.php)(/.+)$;
  42. fastcgi_pass unix:/var/run/php/php7.3-fpm.sock;
  43. fastcgi_index index.php;
  44. include fastcgi_params;
  45. fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
  46.  
  47.  
  48. fastcgi_intercept_errors off;
  49. fastcgi_buffer_size 16k;
  50. fastcgi_buffers 4 16k;
  51. fastcgi_connect_timeout 300;
  52. fastcgi_send_timeout 300;
  53. fastcgi_read_timeout 300;
  54. }
  55.  
  56. location ~ /.ht {
  57. deny all;
  58. }
  59.  
  60. ssl_certificate /etc/nginx/ssl/eatthis.test.crt;
  61. ssl_certificate_key /etc/nginx/ssl/eatthis.test.key;
  62. }
  63.  
  64. ---
  65. ip: "192.168.10.10"
  66. memory: 2048
  67. cpus: 1
  68. provider: virtualbox
  69.  
  70. authorize: c:/Users/XXXX/.ssh/id_rsa.pub
  71.  
  72. keys:
  73. - c:/Users/XXXX/.ssh/id_rsa
  74.  
  75. folders:
  76. - map: c:/www/code
  77. to: /home/vagrant/code
  78.  
  79. sites:
  80. - map: eatthis.test
  81. to: /home/vagrant/code/Laravel/public
  82.  
  83. databases:
  84. - homestead
  85.  
  86. # ports:
  87. # - send: 50000
  88. # to: 5000
  89. # - send: 7777
  90. # to: 777
  91. # protocol: udp
  92.  
  93. # blackfire:
  94. # - id: foo
  95. # token: bar
  96. # client-id: foo
  97. # client-token: bar
  98.  
  99. # zray:
  100. # If you've already freely registered Z-Ray, you can place the token here.
  101. # - email: foo@bar.com
  102. # token: foo
  103. # Don't forget to ensure that you have 'zray: "true"' for your site.
  104.  
  105. # Copyright (c) 1993-2009 Microsoft Corp.
  106. #
  107. # This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
  108. #
  109. # This file contains the mappings of IP addresses to host names. Each
  110. # entry should be kept on an individual line. The IP address should
  111. # be placed in the first column followed by the corresponding host name.
  112. # The IP address and the host name should be separated by at least one
  113. # space.
  114. #
  115. # Additionally, comments (such as these) may be inserted on individual
  116. # lines or following the machine name denoted by a '#' symbol.
  117. #
  118. # For example:
  119. #
  120. # 102.54.94.97 rhino.acme.com # source server
  121. # 38.25.63.10 x.acme.com # x client host
  122.  
  123. # localhost name resolution is handled within DNS itself.
  124. # 127.0.0.1 localhost
  125. # ::1 localhost
  126. 192.168.10.10 eatthis.test
Add Comment
Please, Sign In to add comment