
## MUST BE in http section
#	perl_modules perl/lib;        
#	perl_require %%PREFIX%%/bin/http_api.pl;
## invalid variable name "Apache2RESTHandlerRootClass" 
#	perl_set Apache2RESTHandlerRootClass "CIF::WebAPI::Plugin";
#	perl_set Apache2RESTAPIBase "/api";
#	perl_set Apache2RESTWriterDefault 'json';
#	perl_set Apache2RESTAppAuth 'CIF::WebAPI::AppAuth';
#	# feed defaults
#	perl_set CIFLookupLimitDefault 500;
#	perl_set CIFDefaultFeedSeverity "high";

## to include in ssl server part  
location /api {


      location ~ \.pl$ {
          try_files $uri =404;
          gzip off;
          fastcgi_pass  127.0.0.1:8999;
          fastcgi_index index.pl;
          fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
          include fastcgi_params;
      } 
  }  


