> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 10/09/2014 12:49 PM, Greg Barker wrote:
>> Option #2 should work, here's what I have for my uwsgi site.
>> Double check your permissions on the directory the uwsgi.sock lives
>> in.
>>
>> My nginx conf: location / { uwsgi_pass
>> unix:///var
We've got an upstream returning X-Accel-Redirect responses to an internal
location (which itself proxies to another upstream). Something like:
upstream fileserver {
server foo;
}
upstream backend {
server bar;
}
server {
Hi folks!
I am happy to announce the new formal release, 1.7.4.1, of the OpenResty bundle:
http://openresty.org/#Download
The highlights of this release are
1) the new "resty" command-line utility,
2) SSL/TLS cosocket support in ngx_lua (with SNI support and
client-side session reu
Shouldn't matter that you don't have a www-data user, that just happens to
be the one I am using. I am running uwsgi in emperor mode so my worker
processes have that uid
$ ps aux | grep uwsgi
root 798 0.0 0.0 31748 2296 ?Ss Sep29 0:24
/var/www/my_app/my_virtualenv/bin/uwsgi -
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 10/09/2014 12:49 PM, Greg Barker wrote:
> Option #2 should work, here's what I have for my uwsgi site.
> Double check your permissions on the directory the uwsgi.sock lives
> in.
>
> My nginx conf: location / { uwsgi_pass
> unix:///var/www/my_app/m
Hi,
I've written a small nginx module that serves files (with some extra
functionality). When I access the files through HTTP POST, I get below
error
[error] 2971#0: *184 open()
"/home/user/build/default/main/nginx/extern-nginx-prefix/nginx/html/1/3/49123876"
failed (2: No such file or director
Single nic deployed, the solution of Justin worked.
Thank you,
Paulo
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,253833,253873#msg-253873
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Option #2 should work, here's what I have for my uwsgi site. Double check
your permissions on the directory the uwsgi.sock lives in.
My nginx conf:
location / {
uwsgi_pass unix:///var/www/my_app/my_virtualenv/run/uwsgi.sock;
include uwsgi_params;
}
Directory permissions:
$ ls -la /var/ww
Single nic deployed, the solution of Justin worked.
Thank you,
Paulo
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,253833,253872#msg-253872
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Correct Justin.. beginners mistake . disabled the firewalld but
forgot selinux ...
I install it in CentOS 7.0.
Do you know how to troubleshoot it when sometimes the proxy doesn't go
through and other times works ??
Paulo
Posted at Nginx Forum:
http://forum.nginx.org/read.php?
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I have been trying to get nginx to talk to uwsgi to no avail. uwsgi
works by itself as I can host it on port 80 on my local machine with no
problems. I have tried configuring nginx with the following variations:
# option 1
location / {
include uws
Hello,
Sorry for my late replay. Now I can be able to write file into disk and read
from it without problem (csv file) by using this:
ngx_temp_file_t *tf;
tf = ngx_pcalloc(r->pool, sizeof (ngx_temp_file_t));
tf->file.fd = NGX_INVALID_FILE;
tf->file.lo
Thanks for the reply. I compiled nginx from source, 1.7.5. I'm on Ubuntu 14.04.
I know there's a log rotation function built-in but I prefer to work things out
by myself. :DSo I created this script to automatically rotate my logs:find
/var/www/ -ipath */logs/access.log.gz -execdir mv "{}" "old/`
Btw, using the nginx packages automatically configure stuff to run out of
the box, including the (r)syslog rotation configuration.
Here is an insight of the nginx log rotation configuration file:
https://unix.stackexchange.com/questions/106280/what-does-this-logrotate-nginx-config-do
If you are us
14 matches
Mail list logo