이 링크를 클릭했을 때 http://localhost:8094/blast/get_sequences.cgi?database=db/Nbv5.1trPrm&hit_count=1&alignment_seq_1=Nbv5.1tr6212914%20RNA-dependent%20RNA%20polymerase%202%20(probable)
나는
502 Bad Gateway
nginx/1.10.3 (Ubuntu)
nginx에 대한 내 구성 파일(기본값)은 다음과 같습니다.
# Default server configuration
#
error_log /var/log/blast.log error;
access_log /var/log/blast.log;
fastcgi_read_timeout 600;
client_max_body_size 10M;
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www/html;
# pass PHP scripts to FastCGI server
#
location ~ \.php$ {
include snippets/fastcgi-php.conf;
# With php-fpm (or other unix sockets):
fastcgi_pass unix:/var/run/php/php7.0-fpm.sock;
auth_basic "Restricted Content";
auth_basic_user_file /etc/nginx/.htpasswd;
}
# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
location ~ /\.ht {
deny all;
}
#Rules for blast
location /blast/ {
location ~ \.cgi($|.*) {
gzip off;
autoindex on;
include fastcgi_params;
#fastcgi_param DOCUMENT_ROOT /var/www/html/blast/;
fastcgi_pass unix:/var/run/fcgiwrap.socket;
}
}
}
#Rules for sequenceserver
location /sequenceserver/ {
proxy_pass http://localhost:4567/;
proxy_intercept_errors on;
proxy_connect_timeout 8;
proxy_read_timeout 180;
}
}
내가 놓친 게 무엇입니까?
미리 감사드립니다.
답변1
/var/run/fcgiwrap.socket
nginx와 자체 통신에 사용되는 응용 프로그램 소프트웨어가 실행되고 있지 않을 가능성이 높습니다 .