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.

learn more… | top users | synonyms

0
votes
1answer
361 views

How to map requests to an external directory

I have a directory/application that is located outside of the web root directory of my site. Say the site is here: /var/www/site/htdocs/ And the external app is located here: ...
0
votes
1answer
152 views

Nginx writing separately to two different logs

I've recently taken over as Sysadmin of a site, and the first thing I noticed was that there were two Nginx access_logs defined: access.log and access_new.log, and they were both being written to. ...
0
votes
2answers
818 views

Ruby on Rails - Passenger Nginx - 403 Forbidden

I've been searching for an answer for a long time 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 ...
0
votes
1answer
23 views

Page requesting content from another IP

I was running a drupal website on Server 01 with IP1 on the domain name example.com with the configuration centos 6 and apache. As we were having a traffic spike, we wanted a more powerful machine. ...
0
votes
1answer
80 views

Code for redirecting an HTML page without an extension using an .htaccess file results in a 404 error

I'm trying to redirect an HTML page to a WordPress page which has no extension. The result of redirecting example.com/fa/home.html to example.com/fa/ is a 404 page not found. As you can see they're ...
0
votes
1answer
36 views

Domain name name repeated in the URL — what is wrong with my Joomla/nginx setup?

I have a joomla site being served from an nginx server with the following config server { listen 80; server_name heftpathology.com; server_name_in_redirect off; access_log ...
0
votes
1answer
73 views

Tracking 502 bad gateway error

I moved my Wordpress site to WP Engine and now I constantly get 502 errors. I spoke with support and they said that its because I have a lot of DB queries. I ran some tests and my frontpage only has ...
0
votes
1answer
55 views

Remove www from HTTPS request in Nginx

I have the following code: server { listen 443; server_name www.domain.com; ssl on; ssl_certificate /etc/nginx/ssl/domain.com.crt; ssl_certificate_key /etc/nginx/ssl/domain.com.key; return ...
0
votes
1answer
665 views

How to leverage browser cache using .htaccess on nginx?

I'm trying to increase the pagespeed of our website ubercore.co. I'm using PageSpeed Insights for Chrome extension to analyze the pagespeed. It has suggested me to "Leverage browser cache". This is ...
0
votes
1answer
514 views

Nginx proxy_pass 404 error, don't understand why

I'm 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{ ...
0
votes
0answers
13 views

UFW Log Question

Can someone tell me exactly what this UFW log reads? What is LEN, SPT, DPT? I'm getting maybe 30 lines of logs like this per day. Is this normal? Aug 27 11:45:44 tehnika kernel: [18508.939504] [UFW ...
0
votes
0answers
35 views

Redirecting to the file with the correct extension in nginx

I configured my nginx server to correct the file extensions on a domain that only serves static images. Example: A user request /image or /image.png although the file is actually called /image.jpg. ...
0
votes
2answers
256 views

Nginx, URL special characters and punycode

I have an URL with special carachters (nicolòzanetti.com), and I'm having problem telling nginx how to handle it to the correct site. With a basic configuration:(the * in the urls is to tell ...
0
votes
0answers
35 views

Random Apache and NginX stops

I have a virtuell server from strato (german hoster) running on ubuntu Ubuntu 12.04.1 LTS with plesk. Lately I have problems that my webserver once in a while doesn't respond request. so I startet ...
0
votes
1answer
125 views

SEO: Single URL rewrite from one app to another

I have two web applications running on two different servers. I want one, example.com/hello, to redirect to the second, hello.com. But I want both to contribute to each other's SEO ranking. What is ...
0
votes
0answers
169 views

How can I set up friendly URL to Nginx?

I'm trying to use dokuwiki with its friendly URL on Nginx. The problem that I'm facing is, it doesn' show correct path to any link (even stylesheet, and images) on every page. It looks that paths ...
0
votes
0answers
424 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
votes
1answer
668 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 ...
-5
votes
1answer
867 views

What the Nginx Control panel? [closed]

What the Nginx Control panel? What the Nginx Control panel? and Free thanks