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

learn more… | top users | synonyms

0
votes
0answers
2 views

piwik + Nginx + Tomcat: domain mapping and reverse proxy setup?

I'm currently getting started with the setup of Nginx in combination with tomcat 8. I have a webapp which runs as a servlet in tomcat while Nginx is mapping the domain mysite.com to this webapp via ...
0
votes
2answers
31 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
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,...
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
1answer
698 views

set up (VirtualBox + CentOS) with (nginx + PHP + MySql) on MacOS

I'm trying to set up (Virtual Box + CentOS) with (nginx + PHP + MySql) on MacOS, the future I can coding on MacOS then throw file to the share folder with (Virtual Box + CentOS) and execute on (...
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....
8
votes
1answer
12k views

Why a listen 443 default_server; nginx rule override already configured rule (http rules working normal way)?

I have an nginx and different subdomains: a.mydomain.com b.mydomain.com c.mydomain.com Nginx has 4 rules: 1) rewrite rule: server { listen 80 server_name gl.udesk.org; root /nowhere; ...
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:
4
votes
1answer
6k views

Subversion over https + WebDAV on nginx

I wonder how do I create SVN repo and let users access it over http[s] + WebDAV on nginx I did not find any good tutorials describing this process whilst there are a lot of answers on this scheme but ...
4
votes
2answers
8k views

NginX+PHP-FPM setup: Why is this configuration workaround needed to properly set PATH_INFO? [Debian7.4]

It took several hours to find out how to properly configure NginX, but I still think I might have missed something. Mainly because this perfectly working setup raises more questions than it answers. ...
0
votes
1answer
55 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: http://nginx.org/...
1
vote
1answer
27 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
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
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 ...
8
votes
4answers
4k views

Mac firewall blocking nginx (port 80) from external side

I installed nginx using ports and started it with sudo. Accessing the nginx welcome page from localhost works perfectly, however accessing it from an external computer fails. Doing an nmap on the ...
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.
0
votes
1answer
663 views

“sudo yum install nginx” throws “Cannot retrieve repository metadata (repomd.xml) for repository”

Here's what I get when I type it in via the command line: [prompt]$ sudo yum install nginx Loaded plugins: priorities, security, update-motd, upgrade-helper http://nginx.org/packages/rhel/latest/...
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
33 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
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
1answer
281 views

Nginx: redirection to (private ip) virtual machines

I want to setup a set of web services for my colleagues from my laboratory; simple things like wiki, cms, git, etc, so that we can document our projects better. I'm an physicist, not CS, so sorry if 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
223 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
78 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/....
2
votes
1answer
240 views

How to make Nginx virtual host work? (page not found)

Running Ubuntu 13.10 in VirtualBox. I've put my website in this folder: And created the log folder on /srv/www/streamsy.com/logs/. I've done these steps: sudo apt-get install nginx sudo chown -R ...
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....
1
vote
0answers
256 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
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
31 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 ...