Re: Centos 7 file permission problem

2017-12-20 Thread 方坤
I generally disable SELinux after installing CentOS, once and for all, and I guess I am not the only guy who repeat this. SELinux was likely to be designed not for regular use. On Thu, Dec 21, 2017 at 3:06 PM, Aziz Rozyev wrote: > no problem, btw, check out this post > > https://www.nginx.com/bl

Re: Centos 7 file permission problem

2017-12-20 Thread Aziz Rozyev
no problem, btw, check out this post https://www.nginx.com/blog/nginx-se-linux-changes-upgrading-rhel-6-6/ br, Aziz. > On 21 Dec 2017, at 03:33, li...@lazygranch.com wrote: > > Well that was it. You can't believe how many hours I wasted on that. > Thanks. Double thanks. > I'm going to men

Re: Centos 7 file permission problem

2017-12-20 Thread 方坤
This time, SELinux again, seems to be a real problem for new talents. I remembered my hours headached with that. ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Centos 7 file permission problem

2017-12-20 Thread li...@lazygranch.com
Well that was it. You can't believe how many hours I wasted on that. Thanks. Double thanks. I'm going to mention this in the Digital Ocean help pages. I disabled selinx, but I have a book laying around on how to set it up. Eh, it is on the list. On Wed, 20 Dec 2017 14:17:18 +0300 Aziz Rozyev

Re: get cookie value which name contains hyphen

2017-12-20 Thread Maxim Dounin
Hello! On Wed, Dec 20, 2017 at 05:01:35AM -0500, foxgab wrote: > my app set a cookie which named like SESSIONID-MYAPP, i want to write the > value of that cookie to log file, but i tried $cookie_SESSIONID_MYAPP, > $cookie_SESSIONID-MYAPP, but i can't get what i want. You wan't be able to access

Re: Problem with proxy_cache_path and limit

2017-12-20 Thread Maxim Dounin
Hello! On Tue, Dec 19, 2017 at 04:13:10PM -0500, erick3k wrote: > Yep is there, so am still back to 0, nginx is still filling up the hard disk > please help I believe I've already asked you to define "filling up". And you were already asked to do some diagnostic steps, including: - check if s

Re: Centos 7 file permission problem

2017-12-20 Thread Aziz Rozyev
Hi, have you checked this with disabled selinux ? br, Aziz. > On 20 Dec 2017, at 11:07, li...@lazygranch.com wrote: > > I'm setting up a web server on a Centos 7 VPS. I'm relatively sure I > have the firewalls set up properly since I can see my browser requests > in the access and error lo

get cookie value which name contains hyphen

2017-12-20 Thread foxgab
my app set a cookie which named like SESSIONID-MYAPP, i want to write the value of that cookie to log file, but i tried $cookie_SESSIONID_MYAPP, $cookie_SESSIONID-MYAPP, but i can't get what i want. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,277845,277845#msg-277845 __

Re: Nginx cache returns MISS after a few hours, can't be set up to cache "forever"

2017-12-20 Thread mig
Subject: Re: Nginx cache returns MISS after a few hours, can't be set up to cache "forever" Hi, thank you, yes, the problem was the keys_zone too low. There were ~8 keys in the cache with only 10M zone size. Jan ___ nginx mailing list nginx@ngin

Centos 7 file permission problem

2017-12-20 Thread li...@lazygranch.com
I'm setting up a web server on a Centos 7 VPS. I'm relatively sure I have the firewalls set up properly since I can see my browser requests in the access and error log. That said, I have file permission problem. nginx 1.12.2 Linux servername 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UT