# Proxy\_pass" may not have URI part in location

**URL:** <https://www.ruby-forum.com/t/proxy-pass-may-not-have-uri-part-in-location/193978>\
**Category:** NGINX\
**Created:** [August 27, 2010, 2:19pm UTC](https://www.ruby-forum.com/t/proxy-pass-may-not-have-uri-part-in-location/193978 "2010-08-27T14:19:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![manjeet](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/65b543/32.png) [@manjeet](https://www.ruby-forum.com/u/manjeet)\
**Post date:** [August 27, 2010, 2:19pm UTC](https://www.ruby-forum.com/t/proxy-pass-may-not-have-uri-part-in-location/193978/1 "2010-08-27T14:19:48Z")

</div>

Hello

I have just managed to install nginx on Linux.

I am having 2 problems:

1. Error: proxy\_pass" may not have URI part in location  
my conf :  
location ~ /fb/ {  
proxy\_pass  
[http://xyz.dev:3000/fb/restserver.php](http://xyz.dev:3000/fb/restserver.php);

2. Problem with upstream  
I would like to point to restserver.php. I do not know how to do so.

upstream backend {

```
    server xyz.dev:3000;
}

server {
    listen 4242;
    server_name xyz.dev;

    access_log /var/log/nginx/sng-nginx.log main;

    location ~ /fb/ {
        proxy_pass http://backend;

```

I am using nginx version: nginx-0.7.61.

Thanks in advance - Manjeet

Posted at Nginx Forum:

> **[proxy\_pass" may not have URI part in location](https://forum.nginx.org/read.php?2,124245,124245#msg-124245)**
>
> Hello I have just managed to install nginx on Linux. I am having 2 problems: 1) Error: proxy\_pass" may not have URI part in location my conf : location ~ /fb/ { proxy\_pass http://xyz.dev:3000/fb/rest
