Ich glaube bereits einen Schritt weiter gekommen zu sein.
in der NGINX Konfiguration stand folgendes:
server {
server_name otrs.betago.com;
listen otrs.betago.com:80;
access_log /var/log/nginx/otrs_access.log;
# These 2 lines were necessary to prevent buffer problems in OTRS
fastcgi_buffers 8 16k;
fastcgi_buffer_size 32k;
fastcgi_read_timeout 300;
# Enter your htdocs path here, e.g. /opt/otrs/var/httpd/htdocs
root /opt/otrs/var/httpd/htdocs;
# Do not log favicon access
location = /favicon.ico {
access_log off;
log_not_found off;
}
location ^~ /otrs-web/ {
alias /opt/otrs/var/httpd/htdocs/;
}
location ~ ^/otrs/(.*\.pl)(/.*)?$ {
gzip off;
# Enter your fcgiwrap socket here
fastcgi_pass unix:/var/run/fcgiwrap.socket;
fastcgi_index index.pl;
# Enter your OTRS cgi-bin path, e.g. <your_otrs_path>/bin/cgi-bin
fastcgi_param SCRIPT_FILENAME /opt/otrs/bin/cgi-bin/$1;
include fastcgi_params;
}
}</your_otrs_path>
Ich habe jedoch auch folgende Konfiguration ergoogeln können:
server {
server_name otrs.betago.com;
listen otrs.betago.com:80;
access_log /var/log/nginx/otrs_access.log;
# These 2 lines were necessary to prevent buffer problems in OTRS
fastcgi_buffers 8 16k;
fastcgi_buffer_size 32k;
fastcgi_read_timeout 300;
# Enter your htdocs path here, e.g. /opt/otrs/var/httpd/htdocs
root /opt/otrs/var/httpd/htdocs;
# Do not log favicon access
location = /favicon.ico {
access_log off;
log_not_found off;
}
location ^~ /otrs-web/ {
alias /opt/otrs/var/httpd/htdocs/;
}
location ~ ^/otrs/(.*\.pl)(/.*)?$ {
gzip off;
fastcgi_pass unix:/var/run/fcgiwrap.socket;
fastcgi_index index.pl;
fastcgi_param SCRIPT_FILENAME /opt/otrs/bin/fcgi-bin/$1;
fastcgi_param QUERY_STRING $query_string;
fastcgi_param REQUEST_METHOD $request_method;
fastcgi_param CONTENT_TYPE $content_type;
fastcgi_param CONTENT_LENGTH $content_length;
fastcgi_param GATEWAY_INTERFACE CGI/1.1;
fastcgi_param SERVER_SOFTWARE nginx;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
fastcgi_param REQUEST_URI $request_uri;
fastcgi_param DOCUMENT_URI $document_uri;
fastcgi_param DOCUMENT_ROOT $document_root;
fastcgi_param SERVER_PROTOCOL $server_protocol;
fastcgi_param REMOTE_ADDR $remote_addr;
fastcgi_param REMOTE_PORT $remote_port;
fastcgi_param SERVER_ADDR $server_addr;
fastcgi_param SERVER_PORT $server_port;
fastcgi_param SERVER_NAME $server_name;
}
}
Mit der zweiten Version kommt die Fehlermeldung Bad Gateway nicht mehr, aber dafür schon folgende Fehlermeldung:
General error: SOAP call failed: looks like we got no XML document–-Please check your configuration settings, especially credentials and protocol (e. g. http) in service url.
Ich suche weiter ;c)