nginx (pronounced “engine x”) is a lightweight web server and a reverse proxy server

learn more… | top users | synonyms

0
votes
0answers
9 views

Unexpected error with git-http-backend over Nginx and fcgiwrap

Original question I'm trying to setup a git repo for remote access through HTTP. Thing is, even a simple git clone is not working. This is the error message: /var/log/nginx/error.log 2015/07/03 ...
0
votes
2answers
19 views

VirtualBox shared folders returning file not found when loading over HTTP

Hi I have a VirtualBox image which I am starting with vagrant and mounting two shared folders. The folders mount without a problem and are visible when I SSH to the guest machine, but when I try to ...
1
vote
0answers
14 views

502 bad gateway after putting up firewall nginx

My server was working, then I added a firewall for a bunch of ports! And now I get the error: 502 Bad Gateway nginx/1.4.6 (Ubuntu) Nginx server { listen 80; server_name 45.79.80.140; ...
0
votes
0answers
15 views

Failed to start nginx on CentOS

I installed nginx on Centos7, I'm unable to start the service: #service nginx start Starting nginx (via systemctl): Job for nginx.service failed. See 'systemctl status nginx.service' and ...
0
votes
0answers
6 views

Service overloaded while loading forum page

I have problem with one site on my machine where I have installed ispconfig. Sites with low PHP count works fine, but site like forum(MyBB V3) mainpage.com/forum/ <- this link return error below. ...
0
votes
0answers
9 views

Nginx: how to configure lots of very similar server blocks

Nginx is going to serve a lot of (mostly wildcard) domains, and each server block (aka virtual host) has differs by local port (upstream, proxy_pass) and domain name (server_name). Is there any ...
0
votes
0answers
15 views

nginx regexp rule to block all urls containing a '.js?foo'?

I'd like nginx to deny all requests to static files followed by ?foo, like /path/to/somestatic.js?foo or /another/path/to/my.css?bar This is a trick that application layer ddos attacks seems to use ...
1
vote
1answer
28 views

How to block all IP addresses in a range?

In nginx, I know that to block all IPs in the range 5.121.66.xxx, one can use this directive: deny 5.121.66.0/24; Now, I'd like to know how a range like 5.121.yyy.xxx (where yyy in 1-255) can be ...
0
votes
1answer
38 views

Docker and DevOps Tool? [closed]

We are working on moving our infrastructure from Amazon Elastic Beanstalk (which we have had lots of problems with) to just rolling our own "simple" thing. However, we quickly notice that there is a ...
1
vote
1answer
52 views

Nginx does not forward correct client IP when using Virtualbox NAT

I have this nginx configuration upstream xxx { server 127.0.0.1:12123; } error_log /home/web/.log/error.log; server { listen 4567; server_name mydomain ...
1
vote
0answers
31 views

Nginx + Passenger not working — client requests hang until timeout

I'm running on an EC2 instance with Amazon Linux installed and Nginx was installed via passenger-install-nginx-module. The full install process followed was similar to this. The primary difference was ...
0
votes
0answers
4 views

Registering with Consul Cluster?

Right now when I add Consul Agents to our infrastructure I need to know the ip address for an existing Consul instance. Which is kind of sub-optimal from devops perspective. How would one usually ...
0
votes
0answers
11 views

AWS + Nginx Auto Register

We would like to run our nginx instance inside our docker swarm running on EC2. However, we would need them to be auto-registered with preferably R53 directly or possibly ELB. Is that possible? Or ...
0
votes
1answer
45 views

Nginx cannot serve css files because of MIME type error

My Setup: It is a nginx/gunicorn setup for django webapp. Here is my nginx config file: worker_processes 1; user ubuntu nogroup; # for systems with a "nogroup" # user nobody nobody; # for ...
1
vote
2answers
22 views

nginx two sites configuration conflict

I have nginx configured for one of my domains. It works as a frontend to Wildfly application server. One day I decided to configure beta tests environment on the same machine. So I added another ...
0
votes
0answers
23 views

Configure nginx to forward SSL to Apache

I'm trying to configure NGINX as a reverse proxy for Apache, and I want Apache to handle the SSL part of things, but I keep getting 204 (no content). Here are my configuration files so far: ...
1
vote
1answer
36 views

Accessing an nginx webserver on CentOS7 VM hosted on Virtualbox in Windows 10

Setup: A single CentOS 7.1 VM running on a Windows 10 Pro server (preview version 10074), inside Virtualbox 5 beta 4 (also tested on 4.3.8). Using nginx/1.9.0, to serve static HTML files. The VM is ...
0
votes
1answer
26 views

How can I tell which web server Zimbra 8.0.6 is running?

This Zimbra installation was setup by personnel no longer here. Before we proceed to update the suite to a current version, we're first trying to understand what/how it's doing, while lacking any ...
0
votes
0answers
16 views

Wrong nGinx virtual server chosen for a request

I'm trying to make nGinx to proxy a request to a standalone MoinMoin (Python Wiki) web server. So far I have used two virtual servers: server { listen 80; server_name my-domain.com ...
0
votes
0answers
20 views

Can't access webserver using nginx ports over vpn

I'm using nginx within my company network and everything works correctly, but when I try to access it over my VPN connection I'm unable to connect to my web server, and I have nothing in the logs to ...
0
votes
0answers
24 views

nginx + php5-fpm displays 502 Bad Gateway

After an update php5-fpm stopped working. It shows blank page, and after restarting nginx 502 Bad Gateway. In nginx log there is following line: 2015/05/27 20:27:08 [error] 3034#0: *40 recv() failed ...
2
votes
1answer
36 views

Rewriting URLs of by Nginx; Will it make future problems? [closed]

What will happen if URL of Discourse be rewrited via nginx? this way: example.com/category/hello --> example.com/hello Will it make next problems in the sense of "not working" during future updates ...
0
votes
0answers
19 views

Getting nginx 404 error on uploaded files

I am using PHP (5.3) to upload jpeg files, create folders for those files and store them. I have a development version and a live version both running on the same server (CentOS 7, Apache, Plesk 12). ...
0
votes
0answers
23 views

Passenger issue with Rails routes

I have been tasked with getting a Rails 2.3.14 app running with Phusion Passenger 5.0.7 standalone in FreeBSD 9. Setup is all complete and done, the issue I am facing is Passenger doesn’t seem to ...
1
vote
0answers
143 views

nginx serving AngularJS app returns 404 Not Found

I am experiencing problems on configuring nginx to serve static angularjs files. This is my situation, I want the landing page of my application under domain.com and the AngularJS app under ...
1
vote
0answers
27 views

Can't get nginx as a proxy server working

I'm trying to setup my home server to send requests for certain domain names to other computers on my home network (I only have one IP address.) I'm using Nginx to do this, but I'm not having any ...
0
votes
0answers
45 views

nginx gives 404 and 403 in all the files in webroot

I have setup a webserver in a virtual machine on my laptop and I can't get nginx to work. My home DNS is put to example.home for easy access. Here are the symptoms: When I try to access ...
0
votes
2answers
78 views

How can I disable nginx from Gitlab bunlde?

I've installed a Debian/Jessie server with an apache 2.4 service I downloaded and installed the bundle package of Gitlab for Debian 8 (Jessie) I activate unicorn and configure a virtualhost in apache ...
0
votes
1answer
52 views

raspberry pi ip address and port forwarding on Arris router

I am trying to host a website on my raspberry pi using nginx. I am extremely confused about port forwarding or even which IP to use in my pi's configuration. Right now, I can access my site ...
4
votes
1answer
54 views

Simple Nginx config doesn't work

I am a developer with absolutely no server experience, this project I'm working on is my first foray into the world of servers. Basically I have to host an API online, on a Linode server running Nginx ...
0
votes
1answer
26 views

cannot view website from outside LAN

I am trying to host a website using a raspberry pi and nginx. I have everything set up, and can even access my website while directly linked to my lan. I cannot, however, access it outside my ...
0
votes
1answer
25 views

index when serving 2 merged directories in nginx via try_files

I have two directories containing static files that I serve with nginx using the try_files directive. (One filled with generated pages by pelican, one with static content.) However I can't get the ...
0
votes
0answers
32 views

Setup https and http on wordpress nginx

[root@serv01 nginx]# cat nginx.conf # For more information on configuration, see: # * Official English Documentation: http://nginx.org/en/docs/ # * Official Russian Documentation: ...
1
vote
1answer
37 views

What's the recommended way to use/install webapps on Arch Linux? [closed]

I'm trying to figure out the best way to robustly setup webapps on my Arch Linux + nginx server. The way I used to do it before was to download and unpack e.g. latest version of dokuwiki/wordpress ...
0
votes
0answers
40 views

WordPress won't load unless iptables is disabled

I am running CentOS 6.6 using nginx. WordPress will not load unless iptables is disabled. I tried to add the 9000 port for fastcgi, but that did not work. I am guessing it has something to do with ...
0
votes
0answers
9 views

Is there a way for Nginx to load certificates from URL?

I want to store the SSL certificates for Nginx externally to the server. Thus it would load its SSL certificates not from the file system, but probably via HTTPS from some URL. Is this possible?
0
votes
1answer
220 views

Exclude a single file from an nginx location match

I have a location on nginx like this: location ~* /(images|cache|media|logs|tmp)/.*\.(php|pl|py|jsp|asp|sh|cgi)$ { return 403; error_page 403 /403_error.html; } I have a php script that combines ...
0
votes
1answer
47 views

Nginx auth_request fires multiple times, why?

I have a simple proxy which requires an auth_request subrequest for authentication. Authenticated users are then proxied to an s3 url to download a file. What I am seeing however is it appears the ...
0
votes
0answers
103 views

ansible playbook handlers not starting nginx service through notify statement even when changed is true

I've started trying to learn how to use Ansible. I'm following an Ansible Tutorial from Servers for Hackers, and I'm trying out the examples on a VirtualBox virtual machine running Ubuntu 12.04.5 LTS ...
0
votes
0answers
25 views

nginx configuration - Allow local access (different rules for local requests?)

I'm working on a debian 7 nginx server. Because the server is online available, I restricted the access with following lines in the site-configuration ( server {} ): auth_basic "Restricted"; ...
0
votes
0answers
14 views

Echoed Nginx Headers

I've been playing with nginx and pagespeed lately and noticed that the headers are being printed out on the page. I've been looking through my config files but I couldn't see a line that can echo any ...
0
votes
0answers
84 views

Nginx + PHP projects outside of root

I'm trying to setup project directories outside of my server root in Nginx 1.0.15 (I can't get any newer versions due to environment). I want my directory structure to look like this: /var/www |-- ...
0
votes
0answers
31 views

Nginx Echo Subrequest not working

I am new to Nginx. My requirement is I need to make a service call but along with proxy passing that request, I need to make call to another service/servlet. For this I decided to use Echo module to ...
-3
votes
1answer
122 views

Performance with HHVM on Apache and nginx

I had a new Ubuntu server, and I want some opinions on the web server. I am developing with PHP, and stuck between Apache and nginx. I have used WAMP without problems, but in this case, I want to ...
1
vote
0answers
142 views

Can I facilitate Nginx to multiplex an IceCast stream?

The headline basically says it, I have Nginx connect as a reverse proxy to one of my IceCast2 streams. Now it would be nice if, for every new connection to Nginx, it would not proxy a new connection ...
1
vote
0answers
61 views

Add module to nginx after installation

Hi i did install nginx with this command on centos 6 sudo yum install nginx and it work but i need to compile wit rtmp module so How can I find the path to make some changes ./configure ...
0
votes
0answers
179 views

404 error trying to run Owncloud behind a reverse proxy

I am running an owncloud install at a small server at home, but want to set up the server my website runs on to forward proxy requests for owncloud to my home server. I think I (sort of) have the ...
0
votes
1answer
51 views

Nginx - access from a public ip address - ubuntu 14.04

An nginx server is up and running locally on my system[ubuntu 14.04]. But i am having difficulty accessing the same server from my public ip address, or from any other system using my public ip ...
0
votes
2answers
54 views

Nginx reverse proxy returns incorrect url

I have the following setup: public, dynamic IP from my ISP, dynamical DNS let's call it public.org Reverse-proxy (nginx,ubuntu 14.04) Webservers (nginx,ubuntu 14.04) A,B,C running webapps within my ...
0
votes
0answers
37 views

Nginx/Owncloud not accessable from outside my local network

I've got a Raspberry Pi with Nginx and Owncloud installed. I forwarded ports 80 and 443 in my router. When I type my DDNS adress on my Pi, it opens my Owncloud page without any problems, but from ...