» Home » nginx » Page 1
nginx-1.2.2 compilation error make[1]: Entering directory `/usr/local/src/nginx sed -e "s|%%PREFIX%%|
Category : Web Design

I'v just downloaded stable version of nginx-1.2.2 from http://nginx.org/download/nginx-1.2.2.tar.gz


and run ./configure like this
./configure --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --pid-path=/var/run/nginx.pid --lock-path=/var/lock/nginx.lock --http-log-path=/var/log/nginx/access.log --with-http_dav_module --http-client-body-temp-path=/var


View Replies


nginx reverse proxy to apache server - only fulfill nginx forwarded requests
Category : Development Tools & Services

Had a question as to what this is called and if it is even possible...


I have my main app on an nginx server. I have my blog on an apache server that is seperate for security. Both servers have different IPs.


I am reverse proxying domain.com/blog requests to the wordpress apache server for the response. Is there a way to setup the apache .conf to only ful


View Replies


Django + uwsgi + nginx redirect to default page “Welcome to NGINX”
Category : Web Design

I'm a very beginner in python and django. However I'm trying to create a server to deploy my application. But when I want to access my app, I always get the default nginx page "Welcome to nginx".


This server is on Ubuntu 12.04 (precise)
I've installed nginx, python, django and uwsgi packages with apt.
Next I've created a django project to /var/www/djangoApps and a django a


View Replies


nginx: Is it possible to capture response headers in access log when using nginx as a reverse proxy?
Category : Programming Languages

We are using nginx as a reverse proxy to control and log access to a Clojure (Java) web service application.


We are able to generate an access_log and capture incoming headers using nginx just fine. Our Clojure app logs activity via log4j. Trouble is, is that we can't match an entry in the access_log to an entry generated by the app.


The app res


View Replies


Save response from redis (redis2 nginx module) to nginx variable
Category : Programming Languages

I want to create a small web app just for fun.
App will using only nginx (and its modules), several html pages with ssi and redis.
Nginx building with embedded perl module, redis2 module and some other modules.


Question:
How to save a response from redis to nginx variable (redis2 module response raw TCP)?


(I know about lua module, but I don't want to use


View Replies


Changed /usr/share/nginx/html/ softlink, now nginx won't serve it @localhost
Category : Web Design

I use nginx (1.2.4 on Ubuntu 12.04 x64 desktop) to preview frontend designs I'm working on, and something unusual just started happening


The design I was working on was originally located in:


~/Projects/Clients/ANS/src/MetroBusiness.ans


That was softlinked to nginx's localhost directory:


/usr/share/nginx/html/dev/MetroBusiness.a


View Replies


configure /etc/nginx/nginx.conf to redirect to separate host
Category : Operating Systems

Does anyone know how to modify the nginx.conf file to redirect to another host? I would like to direct http://mydomain.com/page1 and http://mydomain.com/page2 to separate hosts on my local network. mydomain.com/page1 should go to 10.100.0.163 and mydomain.com/page2 should go to 10.100.0.164.


Here is what I added to the HTML section of the nginx.conf file on my Ubuntu server.



View Replies


app server + nginx + db… host images on nginx and skip db?
Category : Programming Languages

My question is....... suppose you have 3 servers with identical hardware. One is running an app server. One is the DB. and one is nginx. The db is mongo... the app server is node or vert.x .


Suppose I had a social network site and each user had a certain amount of pictures. I know in advance that each user can have up to say........ 5 pictures. I want to host the pictures on nginx.


View Replies


nginx, uWSGI, 6K qps and the number of nginx workers times two cpu count?
Category : Programming Languages

I am referring to this post.


Tuning nginx worker_process to obtain 100k hits per min


I have 3 8 core servers for a total of 24 cores. Currently doing 6K qps. In my nginx config I have one worker per core. For uWSGI I am using the gevent loop and I have one process per core. I set nice for nginx to -2 and nice for uWSGI to -1.


So..what is the better explan


View Replies


Nginx config for Nginx upload progress model
Category : Development Tools & Services

I'm implementing a progress bar on an image upload site using nginx-upload-progress-module.


Everything seems to be working bar the nginx config, when I follow the example on the github page the site fails to show the homepage and I get a "no website at this address" page.


I'm sure this is to do with proxy_pass settings if anyone can see what I'm doing wrong?



View Replies


Next
2012 / 2017 Copyrights BigHow , All Rights Reserved .