php - NGinx Laravel 4 - 502 Bad Gateway Error -


  सर्वर {80 default_server सुनें; सुनो [::]: 80 default_server ipv6only = on; रूट / होम / सोशलशेयर / पब्लिक /; सूचकांक index.php; server_name domain_ यहां; स्थान / {try_files $ uri $ uri / /index.php$is_args$args; } स्थान ~ \ .php $ {try_files $ uri /index.php = 404; fastcgi_split_path_info ^ (। + \। php) (/.+) $; Fastcgi_pass यूनिक्स: /var/run/php-fpm.sock; Fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $ document_root $ fastcgi_script_name; शामिल हैं fastcgi_params; }}   

यह मेरा वर्तमान एनजीआईएनएक्स कॉन्फ़िगरेशन है - मैं अपने जीवन के लिए यह नहीं समझ सकता कि कनेक्शन, डोमेन या आईपी प्रत्यक्ष पर 502 गेटवे त्रुटि को ठीक करने के लिए क्या हो रहा है। कोई भी विचार?

संपादन

हटाया गया डोमेन

मैं अंत में इस पर उत्तर प्राप्त करने में सक्षम था।

प्रभावी रूप से, nginx फ़ाइल में fastcgi_pass के साथ ही एफपीएम फ़ाइल में सुने के लिए 127.0.0.1:9000 में परिवर्तित होने की आवश्यकता है।

Comments

Popular posts from this blog

php - How can I cram 6+31 numeric characters into 22 alphanumeric characters? -

mysql - where clause in inner join query -

java - Why my included JSP file won't get processed correctly? -