Web-Service On Nginx

nikhil sehgal <[email protected]>
Newsgroups gmane.comp.gnome.mono.devel
Message-ID <CAF0vV7xn8n04rbxoErvcYgfXwb7OFVMS_hmeZFZbAis3RBcROQ__32964.2555014745$1485970727$gmane$org@mail.gmail.com>
HI ALL,


I am trying to host simple web-service on Nginx using Fast CGI on https .

I am so sorry asking for some silly error .

I am Getting following error .it is not able to find my class (in dll)
[image: Inline image 1]

Following are my configuration

*gedit /etc/nginx/sites-available/default(PFA)*


isten 443;
server_name localhost;

root /var/www;
#index index.html index.htm;

ssl on;
ssl_certificate cert.crt;
ssl_certificate_key cert.key;

ssl_session_timeout 5m;

ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers "HIGH:!aNULL:!MD5 or HIGH:!aNULL:!MD5:!3DES";
ssl_prefer_server_ciphers on;

location / {
try_files $uri $uri/ =404;
  index index.html index.htm index.aspx;
                fastcgi_index Default.aspx;
                fastcgi_pass 127.0.0.1:9000;
                include /etc/nginx/fastcgi_params;
}
}

*etc/nginx/fastcgi_params(PFA file)*


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 SCRIPT_FILENAME $request_filename;
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 GATEWAY_INTERFACE CGI/1.1;
fastcgi_param SERVER_SOFTWARE nginx/$nginx_version;

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;

fastcgi_param HTTPS $https if_not_empty;
*fastcgi_param  PATH_INFO          "";*
*fastcgi_param  SCRIPT_FILENAME    $document_root$fastcgi_script_name;*

# PHP only, required if PHP was built with --enable-force-cgi-redirect
fastcgi_param REDIRE   T_STATUS 200;



webapp file fastcgi configurationnlocaled at
/home/nikhil/www/mono-fastcgi/aspnet.webapp(PFA)


<apps>
  <web-application>
    <name>aspnet</name>
    <vhost>*</vhost>
    <vport>443</vport>
    <vpath>/</vpath>
    <path>/var/www</path>
  </web-application>
</apps>

location of web service var/www/webservice

[image: Inline image 2]


[image: Inline image 3]

_______________________________________________
Mono-devel-list mailing list
[email protected]
http://lists.dot.net/mailman/listinfo/mono-devel-list
image.png (image/png, 74.3 KB) - not displayed
image.png (image/png, 185.9 KB) - not displayed
image.png (image/png, 37.1 KB) - not displayed
default (application/octet-stream, 3.3 KB) - not displayed
fastcgi_params (application/octet-stream, 1020 B) - not displayed
aspnet.webapp (application/octet-stream, 171 B) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.