Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- http://192.168.1.13/sqlproxy/rest/vrobtest/405
- Response Headers
- Server nginx/0.7.67
- Date Fri, 17 Jun 2011 17:55:49 GMT
- Content-Type text/html
- Connection keep-alive
- Content-Length 134
- Request Headers
- Host 192.168.1.13
- User-Agent Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.17) Gecko/20110420 Firefox/3.6.17
- Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
- Accept-Language en-us,en;q=0.5
- Accept-Encoding gzip,deflate
- Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
- Keep-Alive 115
- Connection keep-alive
- Content-Type application/json; charset=UTF-8
- X-Requested-With XMLHttpRequest
- Referer http://192.168.1.13/sandbox/test_rql.html
- Content-Length 37
- <HTML><HEAD>
- <TITLE>400 Bad Request</TITLE>
- </HEAD><BODY>
- <H1>Method Not Implemented</H1>
- Invalid method in request<P>
- </BODY></HTML>
- nginx.conf
- upstream hookbox_upstream {
- server 127.0.0.1:8001;
- }
- upstream shaveet_upstream{
- server 127.0.0.1:8082;
- }
- upstream sqlproxy_upstream{
- server 127.0.0.1:8083;
- }
- upstream msghub_upstream{
- server 127.0.0.1:8084;
- }
- server {
- listen 80; ## listen for ipv4
- listen [::]:80 default ipv6only=on; ## listen for ipv6
- server_name 192.168.1.13;
- access_log /var/log/nginx/localhost.access.log;
- location / {
- root /var/www;
- index index.php index.html index.htm;
- }
- location /repository/ {
- root /var/www;
- autoindex on;
- index index.html;
- }
- location /hookbox/ {
- proxy_pass http://hookbox_upstream/;
- proxy_set_header Host $http_host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- error_page 502 503 504 /maintenance.html;
- }
- location /shaveet/ {
- proxy_pass http://shaveet_upstream/;
- proxy_set_header Host $http_host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- }
- location /sqlproxy/ {
- proxy_pass http://sqlproxy_upstream/;
- proxy_set_header Host $http_host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- }
- location /msghub/{
- proxy_pass http://msghub_upstream/;
- proxy_set_header Host $http_host;
- proxy_set_header X-Real-IP $remote_addr;
- proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
- }
- location /iKarmaRestServer/ {
- root /var/www;
- include fastcgi_params;
- fastcgi_param SCRIPT_FILENAME $document_root/iKarmaRestServer/index.php;
- fastcgi_pass 127.0.0.1:9000;
- }
- include /etc/nginx/php.conf;
- }
- include /etc/nginx/ssl.conf;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement