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

learn more… | top users | synonyms

0
votes
2answers
30 views

Slow Connection to Server (100kb/s) on all Protocols (HTTP/SSH/FTP)

We have been experiencing an intermittent problem with our server (1gb port) which sporadically will only serve files at a maximum speed of 100kb/s via all protocols (HTTP/FTP/SSH). First we thought ...
0
votes
0answers
17 views

LXC-Routing between containers

I have a pretty default lxc-setup with one host and several containers. One container webfrontend is getting all host-traffic on ports 80 and 443 via DNATing the ports. An nginx on webfrontend decides ...
0
votes
0answers
11 views

NGINX + Reverse Proxy

Tackling a few things as a future project/potential implementation. NGINX is running on a Tomato Router - shouldn't work any differently to other implementations. At the moment, I'd like to reverse ...
0
votes
0answers
4 views

Have a sub domain process under nginx instead of apache

I have a server setup where nginx and Apache are both setup and nginx reverse proxies to Apache. I have one domain name. Let's take as an example that my domain.com. Domain.com is processed by ...
-1
votes
0answers
18 views

How would I host an https site on intranet?

I can add a self signed certificate to a webserver to get ssl sites, however, self signed certificates are not validated by a CA and any webapplication that accesses them will get a nasty warning that ...
0
votes
1answer
11 views

Access simple node.js app subdirs with nginx

I have a Ubuntu server with nginx installed on it and run a simple node.js app on port 3000. I managed to configure nginx to serve me the app on /. My structure looks like this: mainFolder app....
0
votes
0answers
12 views

Nginx on armv7l installation

I am trying to cross-compile Nginx for Armv7l. See the followings steps already done (following this tutorial mainly Nginx for arm) Step 1 ./configure --without-pcre --without-http_rewrite_module ...
0
votes
2answers
24 views

Does Yosemite 10.10.5 comes with nginx?

I am a little confused why a fresh Yosemite 10.10.5 seems to have a nginx process. If I issue the command ps ax | grep "nginx" or ps aux|grep nginx I get: 1266 s000 R+ 0:00.00 grep nginx ...
0
votes
1answer
39 views

Windows 10 Ubuntu Nginx Port in Use

I installed the windows 10 technical preview to use the Ubuntu subsystem, but upon installing nginx I can not start the service. Here is the error log:
1
vote
1answer
26 views

nginx : HTTP/2 switch to HTTP/1.1 (testing)

For testing purpose, I have been trying to switch my nginx server back to HTTP/1.1. I've been using HTTP/2 since it was first available (release 1.9.5). According to the documentation and this ...
0
votes
1answer
39 views

Why is nginx running although it's not installed?

I'm on Windows 10 Home, 64-bit. I see in Task Manager that nginx (32-bit) is running. But I've never installed it. See the following screenshots: The nginx processes are in Task Manager, there'...
0
votes
1answer
25 views

Nginx DDoS SSL Cert

Ok, So I have a Nginx reverse proxy that is blocking this incoming Layer 7 DDoS. The problem is, my outgoing is massive the only assumption I have come to is that my server is sending the SSL ...
0
votes
0answers
31 views

Nginx Proxy : Constant Backend Upstream

I currently have a nginx reverse proxy setup to my backend server. What I would like to do is instead of having nginx request something from my backend server when requested by a user, nginx will have ...
0
votes
0answers
70 views

Nginx doesn't return response headers from proxy_pass on non-200 request

I currently have a Node.js API running behind nginx. I pass my request to node through nginx using the following config: location / { proxy_pass http://localhost:3000; ...
0
votes
1answer
22 views

DNS config to point subdomain to another vhost

I have a digital ocean droplet where I have one server block serving a static homepage and another server block serving a meteor.js application. I'd like to point a subdomain at the meteor application,...
1
vote
1answer
41 views

Errors installing nginx on Linux- wheezy

I have a remote server(Linux debian version: 7.8), which is not connected to outside world due to some security issues at my company. For this wheezy os: I see only version available for nginx is : 1....
0
votes
0answers
17 views

Can Nginx return errors using the proxy protocol?

Consider the following set-up: Browser -(HTTPS)-> HAProxy -(proxy protocol)-> Nginx -(HTTP)-> Tomcat The goal is to use HAProxy for load balancing and Nginx for SSL termination. When the Java ...
0
votes
1answer
55 views

Can't connect local server by public domain name

I have my server (Debian Wheezy) in my local home network. On that server I have my own DNS server (dnsmasq) for other local servers (so I can type name instead of local IP) and reverse proxy (nginx). ...
0
votes
0answers
19 views

Accessing nginx server when offline

Yo! I've been trying to get nginx to work when I'm offline, but both Iceweasel and Chromium complains about not being able to access the domain. It works just fine when I have Internet access. I'm ...
0
votes
1answer
15 views

Nginx: Different static files for different URLs

I have two web applications running on the same server, say, app1 and app2. app1 is the ROOT application, i.e. it will be launched whenever anyone hits the URL, say, http://example.com/ app2 is ...
0
votes
0answers
8 views

What affects the state of a port besides csf firewall?

I'm on a server that uses csf. Within which, when I include port 80 in the "Allow TCP Incoming" list, port 80 is still closed when I port scan it.
1
vote
1answer
45 views

nginx' try_files doesn't work with variables from location pattern captures

if i have a location directive with named captures: location ~ ^/api/(?<endpoint>[^/]+)(?<pathinfo>.*) { root /opt/software/endpoints; ## breaks the config: # try_files $...
0
votes
1answer
32 views

How does my browser know to refresh when I start nginx?

This just happened: Pointed Chrome to my domain where no server is running, but the DNS points to my linode's IP I started a nginx server on my linode To my astonishment, the Chrome window ...
0
votes
0answers
15 views

Unable to connect NGINX to Tomcat Server

I have Nginx Server running on port 80 and and Tomcat Service is running on port 8080. I followed some of the tutorials for setting Nginx as proxy server but getting 502 Bad Gateway. I have created a ...
0
votes
0answers
10 views

how to use python with nginx

I have nginx running under Windows. What I can't figure out is how to bind python interpreter to nginx. I guess it has something to do with nginx.conf. I'm going to use Django or other framework, I ...
0
votes
0answers
27 views

Nginx write logs to the old file after running logrotate

The logrotate config is: cat /etc/logrotate.d/nginx: /data/logs/nginx/*.log { daily dateext dateformat .%Y-%m-%d rotate 30 missingok create notifempty sharedscripts postrotate [ ! -f /usr/...
0
votes
0answers
221 views

502 Bad Gateway with Nginx as proxy for Jenkins

I'm using Centos 7 with Nginx and a SSL from letsencrypt to use as a proxy for jenkins on the same droplet. Everything was working up to the point I tried to proxy Jenkins.. which gave a 502 Bad ...
0
votes
1answer
29 views

Nginx reverse proxy configuration for cadvisor

I am trying to configure nginx to proxy to a cadvisor docker instance running on host port 8000. I have the following configuration: upstream cadvisor { server 127.0.0.1:8000; } ... ... server { ...
1
vote
0answers
46 views

Nginx Reverse Proxy wants } at end of htpasswd

After generating the htpasswd file online, nginx gives me the error "nginx: [emerg] unexpected end of file, expecting ";" or "}" in /etc/nginx/sites-enabled/htpasswd:2". The weird thing is, there's ...
0
votes
0answers
20 views

WHy is nginx trying to serve over SSL

I am new to nginx. So, I know I will need to post additional info. Apologies for starting with a lack of info. I have my first nginx server set up with virtual domains. The problem domain is a sub-...
0
votes
0answers
17 views

How do I add an index page to the GitLab bundled NGINX?

I've recently installed GitLab, and I'm using the bundled NGINX with it. I've been able to successfully set it up, and put it on mydomain.com/lab Great! Only problem is that when you go to mydomain....
0
votes
0answers
9 views

Avoiding duplication in log_format nginx directives

I am expanding nginx default combined log format: log_format combined '$remote_addr - $remote_user [$time_local] ' '"$request" $status $body_bytes_sent ' '"$...
1
vote
1answer
24 views

In which protocol web server talks to CGI?

I'm wondering what protocol is used for communication between web server, e.g. Apache, Nginx and CGI, e.g. FCGI, UWSGI?
0
votes
0answers
9 views

How does Nginx understand forwarding request?

For example, on the router was configured Forwarding for all incoming requests to a dedicated IP Nginx server. The client requests a resource: www.google.com How does Nginx understand what resource (...
0
votes
0answers
15 views

nginx ssl_write returns SSL_ERROR_WANT_WRITE and retry after many seconds

I'm using nginx-1.7.3 + openssl1.0.1j to do a https web proxy in front of my real server. I found there are always some requests' $request_time is much bigger than $upstream_response_time. I ...
0
votes
1answer
77 views

ubuntu 14.04 with froxlor running on php-fpm using letsencrypt wont work with global acme location config

Here is my problem. To use letsencrypt acme on every domain I add include /etc/nginx/acme.conf in every vhost config: acme.conf location /.well-known/acme-challenge { alias /var/www/froxlor/....
0
votes
0answers
66 views

ERR_TOO_MANY_REDIRECTS between two Nginx servers

I've got a reverse proxying Nginx docker container to proxy requests to other servers. In this case its another Nginx container hosting the PHP application Magento. Every since I installed a wildcard ...
0
votes
0answers
30 views

How to get piwik running with nginx on Ubuntu?

Seeing that I want to learn more about linux administration today I wanted to set up an instance of the self-hosted Piwik statistics package for a website I'm running. Since I don't want to disturb ...
0
votes
0answers
36 views

What exactly are the security implications of ufw DEFAULT_FORWARD_POLICY “ACCEPT”?

I found this question asked on Serverfault, but the answer just provided alternatives instead of actually detailing the implications. I had to set DEFAULT_FORWARD_POLICY to "ACCEPT" to be able to ...
0
votes
0answers
17 views

About second-level domain names corresponding to nginx server blocks

There are 2 second-level domain names and 2 corresponding folders,like this: domain name folder 111.aa.com /var/www/111.aa.com 222.aa.com /var/www/222.aa.com In nginx.conf,there are 2 ...
0
votes
1answer
22 views

How to write the file `nginx.service` on centos 7.2?

I installed nginx from source on centos 7.2,and I need a file ——nginx.service . There is an example of mysqld.service, http://superuser.com/a/384525/577295 I imitate it and write like this: [Unit] ...
1
vote
2answers
254 views

Curl response hangs

I have a site set up in a virtual box. I am able to access it just fine from a browser on my machine, but I have trouble accessing it via CURL while SSH'ed in to the box. When I try, curl hangs ...
0
votes
0answers
21 views

OSX - Nginx on docker to forward docker app

Im new to docker and I was able to work with it on a Ubuntu machine and get access to a service hosted on this machine from an other (thank to nginx on the system). Since I need to do some dev from ...
1
vote
1answer
166 views

Security regarding nginx + php on CentOS 7 with OwnCloud 9

I'm trying to setup a OwnCloud Server v9 for my freelancing purpose. SPECS: - CentOS 7 - nginx - php I'm a little bit confused. I can find only the info about the PHP Version 5.5 in the ownCloud 9....
0
votes
0answers
53 views

http connection works with IP address in Nginx but not with domain name

I have a website setup using Nginx. If I try to connect through IP it works fine. But whenever I try to connect through domain name, I got connection reset error. telnet mydomain 80 Works fine. But:...
0
votes
0answers
19 views

How to change transmission-daemon port?

In /etc/transmission-daemon/settings.json I changed "rpc-port": 9091 to "rpc-port": 69, but since then I've been getting ERR_CONNECTION_REFUSED when I try to open website:69. Earlier, I was able to ...
0
votes
0answers
36 views

How to forward CORS requests in Nginx to different handlers

I have a setup as shown below: I make a AJAX request to /handler_1 eg. /handler_1?q=abcd. If this handler gives a HTTP 500 then redirect to /handler_2 with /handler_2?q=abcd and return the response (...
0
votes
0answers
35 views

NginX Unicorn setup not serving Server Blocks

i used the awesome Gist to setup unicorn together with nginx. It works perfect so far. But now i have the need to serve a small app with basically static files for a subdomain. I create a server block ...
0
votes
0answers
99 views

How do I get my nginx server on the internet?

I have a personal website and it's very small, therefor I don't want to pay for it be hosted online. After a few days of research I decided to install vmware with linux ubuntu-server 14.04 with an ...
1
vote
0answers
12 views

Access backend Node JS application from Rails + NGINX

So I have a NGINX Webserver forwarding connections from port 80 to my Rails application. The Rails application handles authentication and serves basic functionality and static pages. I have several ...