Welcome! Log In Create A New Profile

Advanced

Re: Nginx truncate my data.

December 02, 2010 11:44PM
Sorry for duplicated posts.

the log is like this
2010/12/03 12:34:58 [crit] 27861#0: *3495 open()
"/opt/local/nginx80/proxy_temp/6/01/0000000016" failed (13: Permission
denied) while reading upstream, client: XX.XX.XX.XX, server:
api.yangfanbook.beta.sina.com.cn, request: "POST /api.php/invoice_list_get
HTTP/1.1", upstream: "http://127.0.0.1:6080/api.php/invoice_list_get", host:
"api.XX.beta.XX.com.cn"

I got it, it's the permissions of proxy_temp, when I change it to 777, it's
OK now.

but can I change the permissions to 777 ? is there any security issues?

the permissions of nginx :
drwxr-xr-x 9 root root 4096 Dec 3 11:44 .
drwxr-xr-x 9 root root 4096 Nov 5 17:31 ..
drwx------ 2 nginx80 root 4096 Dec 2 14:53 client_body_temp
drwxr-xr-x 2 root root 4096 Dec 3 11:59 conf
drwx------ 2 nginx80 root 4096 Nov 5 17:31 fastcgi_temp
drwxr-xr-x 2 root root 4096 Dec 3 11:49 html
drwxr-xr-x 2 root root 4096 Dec 3 12:00 logs
drwxrwxrwx 12 nginx80 root 4096 Nov 5 17:31 proxy_temp
drwxr-xr-x 2 root root 4096 Dec 3 11:49 sbin


and the permission of my file is httpd6080.webdev because we use apache as
the bankend.

What should I do?


2010/12/3 Nuno Magalhães <nunomagalhaes@eu.ipp.pt>

> You don't need to double-post, forum messages get sent to the list.
> The latest stable version is 0.8.53, try that first.
> Check your error log.
> Snippets of your config might be of use.
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://nginx.org/mailman/listinfo/nginx
>



--
*Space Lee*
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Nginx truncate my data.

fjctlzy December 02, 2010 11:20PM

Re: Nginx truncate my data.

vesperto December 02, 2010 11:30PM

Re: Nginx truncate my data.

fjctlzy December 02, 2010 11:44PM

Re: Nginx truncate my data.

vesperto December 02, 2010 11:56PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 59
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready