nginx (pronounced “engine-x”) is a lightweight, high-performance Web server/reverse proxy and e-mail (IMAP/POP3) proxy, licensed under a BSD-like license.
2
votes
1answer
40 views
Simple RewriteRule [duplicate]
I'm trying to write a RewriteRule to make a simple url. I want users to be able to type enter
www.example.com/somepage
and have it take them to
www.example.com/abc/somepage.php
How can this be ...
0
votes
0answers
34 views
Ruby on Rails - Passenger Nginx - 403 Forbidden
I've been search for an awnser for too long now so I'll just try here...
I'm trying to get an Ruby on Rails application running with passenger and nginx but I'm getting 403 forbidden when I'm tring ...
0
votes
0answers
24 views
nginx proxy_pass 404 error, don't understand why
trying to pass off all calls to /api to my webservice but I keep getting 404s with the following config. Calls to / return index.html as expected. Does anyone know why ?
upstream backend{
server ...
0
votes
0answers
32 views
How to serve Nginx using just a Rackspace server IP address? [migrated]
I'm setting up a server on Rackspace for migrating an existing website to so I can have everything working before changing the DNS entry.
I had no problems getting the server to work at the IP ...
2
votes
0answers
22 views
Why does modx-based site start using different domains for some content?
situation
I have a modx site on a VPS with multiple domain and subdomain names. The modx site should use what I call the 'primary' domain name's 'primary' subdomain, ie www.intendedname.tld . The ...
0
votes
0answers
33 views
nginx + php + windows server 2012 not playing nice!
I am trying to setup a server using nginx and php-cgi.
Two problems:
I have wrapped a php service in a batch file that reports when it starts and ends to the error reporting service. Essentially any ...
0
votes
0answers
131 views
How to get rid of this webpage that has a redirect loop?
I'm having an RnD in my local machine. My local dev is working fine with Apache until I decided to add Nginx. The error is the following one:
This webpage has a redirect loop
Error 310 ...
2
votes
1answer
54 views
Google indexed my site through a subdomain, how to fix?
So I recently switched to nginx but I didn't specify my site_name in nginx.conf, which I've learned is interpreted as a wildcard domain, meaning you can access the site through any subdomain. I had a ...
1
vote
0answers
27 views
Which webserver to use for multiple sites? [closed]
Which webserver should I use if I'm going to host about 30 sites and all are using Wordpress. Each site receives about 1k+ visitors daily. Which webserver should I use apache or nginx? I only have 1GB ...
0
votes
0answers
51 views
How to encrypt link between NGINX and proxy server [closed]
I have a server running on a DMZ with NGINX acting as a reverse proxy. The app itself is inside the secure network (on another server). At present, NGINX is merely forwarding all SSL requests to the ...
0
votes
0answers
66 views
Managing Multiple dedicated servers centrally using a Web GUI tools? [closed]
Application Architecture
I am having a single ruby on rails application code running with multiple instances (ie. each client having identical sub domains) running on a multiple dedicated server ...
1
vote
2answers
83 views
What is the default behavior of Cache-Control
If no private nor public were defined in the cache-control, e.g.
Cache-Control: max-age=31461276
What is the expected behavior?
0
votes
0answers
109 views
multiple godaddy domains to home router then reverse proxy to multiple internal servers [closed]
I need someone to steer me correctly... advising on all required components.
I have multiple domains with godaddy, say site1.com , site2.com, site3.net
I have multiple home LAMP servers... one on ...
0
votes
1answer
66 views
viewing values of all parameters of nginx for a particular request
Is it possible to see the values of all the parameters of nginx for a particular request like if i request for localhost/myfolder/page.php what are the values of $request_uri, $document_uri, ...
2
votes
1answer
489 views
Vbulletin on nginx?
As an nginx fan, I need to set up a VB for a friend so I am wondering whether one can server VB site using nginx/php-fpm instead of apache? What are the specefic rewrite rules for that? How common ...
0
votes
0answers
429 views
htaccess rewrite rules converted to nginx not working?
I used this tool http://www.anilcetin.com/convert-apache-htaccess-to-nginx/
And converted my rules to nginx.
However one rule doesn't seem to be working...
My working htaccess rules are
...
1
vote
0answers
148 views
Trouble with images in phppgAdmin on my Nginx VPS
this is my first time using Nginx or phppgAdmin, and after placing the phppgadmin folder into my public_html folder I find that the resources for the phppgadmin page are broken, images and css ...
0
votes
3answers
2k views
How to block baidu spiders
Most of my visits are from baidu spiders. I don't think it helps search engines at all so I'm thinking of how to block them. Could this be done via iptables? I'm using nginx as my webserver.
1
vote
3answers
829 views
Nginx or Apache for a VPS? [closed]
I consider myself to be an inexperienced user/administrator when it comes to running my VPS. I can get by with a few CLI commands, I can set up Webmin and I can set up Yum repos, but beyond the very ...
1
vote
0answers
119 views
Permissions & File Structure w/ nginx & multiple sites
I am using nginx for the first time as a long time Apache user. I setup a Linode to test everything and to eventually port over my websites.
Previously I had /home/user/www (wwwroot)
I am looking ...
0
votes
0answers
300 views
Nginx 404 not working with PHP?
I have a 404 file and it is working with nginx. However when I modify the 404 file to redirect the user it does not redirect.
visiting http://site.com/404.php redirects the user.
visiting ...
1
vote
1answer
619 views
Wordpress website with slow response (only for the first request)
I've a weird issue with my wordpress website ( http://rohitnair.info/) . The "first request" takes ages to respond. Any subsequent requests behave normally. Things I've observed while debugging
...
1
vote
1answer
3k views
Nginx negating condition/ if else
I've came into situation where I cannot find a way around it, neither with tons googling.
valid_referers none blocked something.com;
if ($invalid_referer) {
rewrite ^ /leech.jpg;
expires ...
-1
votes
1answer
181 views
PHPFox caching? [closed]
I run a big phpfox website and I currently have server setup as follows:
nginx (reverse proxy) --> Apache for dynamic content
are there other ways to cache content with phpfox?
I can't use memcache ...
2
votes
1answer
1k views
nginx proxy rewrite not matching
I'm setting Nginx to forward requests to several backend services using proxy_pass
A few of them I have to add rewrite rules to strip the folder off, however for this particular service, the rewrite ...
2
votes
2answers
486 views
Nginx frontend, Apache backend, and Magento
I've got a Magento installation, which works perfectly from a customer's point of view. However, when you try and do batch tasks with the admin, nginx often closes the connection to the browser early, ...
6
votes
2answers
878 views
Why there suddenly were so many 400 request in my access log?
Below are little part of my access_log
118.186.8.50 - - [19/Dec/2011:22:42:57 +0800] "-" 400 0 "-" "-"
05
118.186.8.50 - - [19/Dec/2011:22:42:57 +0800] "-" 400 0 "-" "-"
06
118.186.8.50 - - ...
1
vote
2answers
3k views
NginX redirect to PHP file if image does not exist on file server
This is what I am trying to do. I am not familiar with Nginx enough to create custom rewrite rules like you can with Apache. It would be greatly appreciated if someone could help me with the Nginx ...
1
vote
1answer
130 views
Nginx: different content to specific request method
I have the image in the url (my server): http://www.example.com/example.jpg
If my user put this image url on his site: return the image (normal).
If my user put this image url on his browser: return ...
-5
votes
1answer
772 views
What the Nginx Control panel? [closed]
What the Nginx Control panel?
What the Nginx Control panel?
and Free
thanks