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

learn more… | top users | synonyms

6
votes
0answers
5k 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; ...
2
votes
0answers
638 views

Nginx rewrite to remove first (generic) path node

I am currently writing a dispatcher that will dispatch different URLs to specific service URLS. I essentially want to dispatch something like: POST ...
2
votes
0answers
3k views

How to troubleshoot Upstart Unknown job error

I set up nginx according to instructions here and it all went well but I am unable to start with $ start <my app name> I created /etc/init/nomilkfor.me.conf (this is the domain name) and this ...
2
votes
0answers
158 views

Url rewriting faliure in case of UTF8 urls in nginx

I am using Nginx webserver and I want to rewrite some old urls on my site to new ones inorder to prevent 404 errors. For English urls everything is OK and adding a rewrite rule like the following to ...
2
votes
0answers
1k views

Establish https on nonstandard port

I'm trying to estamblish https on port 55434 (different than standard 443). My nginx configuration looks like this: server { server_name example.org; listen 55434 ssl; ssl ...
2
votes
0answers
345 views

PHP : curl is and Not working in ubuntu10.04 and Nginx

I am running Nginx server on ubuntu 10.04 I am using the php version 5.3.2 .I installed php5-curl using apt-get install php5-curl. Unfortunately the curl package is not displaying in phpinfo() . ...
2
votes
0answers
383 views

Raspberry Pi, Mercurial and nginx

I am posting this here, as apparently, I am unlikely to get any help at raspberry pi. Please bear with me. I have a small problem with configuring Mercurial to work with nginx using unix sockets on ...
2
votes
0answers
220 views

how do I enable debug logging in php5-ldap

I have phabricator running on Ubuntu behind nginx and php5-fpm, and now trying to figure out why ldap logins fail. Is there a way to enable verbose logging of the php-ldap code? What file is the log ...
2
votes
0answers
820 views

How to fix the authentication error “request-digest mismatch” using cadaver and WebDAV on nginx?

I use nginx 1.3.9 with the extensions nginx-dav-ext-module and nginx-http-auth-digest. The problem seems to only occur when I try to log in with cadaver, it’s possible to access the DAV share with ...
2
votes
0answers
1k views

How can I pass environment variable in nginx conf?

I have nginx conf as location /static/ { alias $HOME/code/python/vlists/vlists/static/; # if asset versioning is used if ($query_string) { expires max; ...
1
vote
0answers
30 views

Nginx Modsecurity Apache Include Equivalent

I just switched from apache to nginx and so far I've been pretty happy. However, I've been having some issues with modsecurity. Back when I used apache I could use the following to add every rule I ...
1
vote
0answers
252 views

nginx - ssl and www redirect configuration

this is related to: http://stackoverflow.com/questions/24538973/django-allowed-hosts-error-for-www-domain-and-ip-address i'm attempting to redirect www and non-ssl requests to ssl non-www domain for ...
1
vote
0answers
174 views

Allow internet access to intranet only users using Nginx on Ubuntu

I need to allow some users who only have access to the intranet to access one specific internet site. I'm doing this by using Nginx as a reverse proxy. To test this, I would like to block all internet ...
1
vote
0answers
82 views

run selfoss in a subsubfolder on an nginx webserver

I am trying to run selfoss through nginx webserver in a subfolder of my home directory. The files are in /home/me/web/selfoss, and by the nginx instruction location /me/ { alias /home/me/web/; } ...
1
vote
0answers
235 views

(111)Connection refused: mod_fcgid: can't connect unix domain socket

I have a problem with one of my webservers. I have Apache and Nginx (like a proxy-reverse server). My Apache run with mod_fcgid for PHP5.3. All works fine, but only on a few requests show me this ...
1
vote
0answers
62 views

how to reload nginx - systemctl or nginx -s?

Is there a difference between calling systemctl reload nginx and calling nginx -s reload ? I know that, besides systemd, there are other init systems like SysV and Upstart. So maybe this ...
1
vote
0answers
627 views

exec ffmpeg not working for nginx-rtmp-module on AWS Ubuntu

I was trying out the nginx-rtmp module from https://github.com/arut/nginx-rtmp-module. While implementing the example for ffmpeg given in the link, my exec ffmpeg is not getting executed. My rtmp ...
1
vote
0answers
2k views

Can't stop/reload/restart nginx with “service nginx”-command

I installed nginx via passenger for running ruby on rails applications. I added the this script: RedHat Nginx Init Script Changed paths for nginx and config to where they are located: ...
0
votes
0answers
5 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
21 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
5 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
11 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
48 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
18 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 ...
0
votes
0answers
39 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 ...
0
votes
0answers
35 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
72 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
0answers
23 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 ...
0
votes
0answers
265 views

CentOS 7 ownCloud 8.0.2 nginx WebDAV

I'm trying to setup private evernote alternative via ownCloud and TagSpaces. At the moment I'm failing to bring the WebDAV to run. The control panel complains that it is not set up properly and I ...
0
votes
0answers
20 views

php.ini changes not reflected to website

i am unable to edit the php.ini changes. i changed in the etc/php.ini and also in home/domain/etc/php5/php.ini But the changes are not be reflected when i see on the php files. i am using phpinfo() ...
0
votes
0answers
18 views

Change wordpress port number in nginx

I have a wordpress installation with nginx. It's currently use port 80. But I'd like to change it to something else. So I found /etc/nginx/sites-available/wordpress file and changed the following two ...
0
votes
0answers
44 views

Ubuntu 14.04 running asp.net with mono, post method show internal error

My OS: Ubuntu 14.04 LTS Nginx + Mono 4.1.0 MVC I can run .net under /var/www/ and also Get method but when I run POST it will show internal 500 error and I can't got any log from nginx nginx ...
0
votes
0answers
35 views

how to configure nginx to dispatch request to index.html and tomcat server?

I'm new to nginx configuration. There are a static html file: index.html and a tomcat server for dynamic pages. I want: - When access http://xxx/ or http://xxx/index.html, the static index.html file ...
0
votes
0answers
30 views

Add persistent route in asus router

I'm using Asus RT-N66U router as HTTP load balancer and reverse HTTP proxy. To do it I installed Download Tools from stock firmware and nginx server. I moved router's web interface out of 80 port and ...
0
votes
0answers
50 views

Using proxypass with plesk, show admin session ip

I've setup a subdomain for use with plesk so I don't have to type out the port all the time. Here is my HTTP configuration: SSLProxyEngine Off RewriteEngine On RewriteCond %{HTTPS} off RewriteRule $ ...
0
votes
0answers
162 views

Nginx Docker container port forwarding not working on OS X

Ok, this is driving me kinda nuts. I'm trying to run an Nginx server through Docker, but can't get port 80 exposed properly. As I'm running boot2docker as a regular user, I can't bind any port under ...
0
votes
0answers
79 views

Nginx Load Balancer redirecting instead of proxying VMware Horizon View

I have two VMware Horizon View security servers (ss0.domain.net, ss1.domain.net) that leverage HTML access that I'd like to load balance behind Nginx (lb0.domain.net). Both security servers are ...
0
votes
0answers
98 views

How can I use LibreSSL with nginx?

I've been trying to install LibreSSL and then using it with Nginx for better TLS-support. I foound two guides: https://www.mare-system.de/blog/page/1405201517/ ...
0
votes
0answers
26 views

How to deactivate sendfile() in Django runserver

I am running a Django development environment using Vagrant/VirtualBox. I am using runserver for my local testing. However, I have encountered this bug: ...
0
votes
0answers
105 views

nginx not serving php files with curl in fedora 21

phpinfo and php with echo are working fine but with curl gives 403 error. error in chrome: http://localhost/send3.php Failed to load resource: the server responded with a status of 403 (Forbidden) ...
0
votes
0answers
66 views

nginx auth_basic for mac address verification

nginx auth_basic for mac address verification Is it done? Do you have examples? thnx location = / { satisfy any; deny all; auth_basic "Restricted"; ...
0
votes
0answers
61 views

Disable xdebug PHP module per directory

I'd like to disable xdebug on a per-directory basis. I know how to set environment variables etc through nginx config, and how to globally change php.ini for a php-fpm pool, but how to ...
0
votes
0answers
243 views

nginx-rtmp pushing from one application to another

I'm trying to push a RTMP stream with the nginx-rtmp-module (set up after this manual) from one of its applications into another one. A minimal example of my config (nginx.conf) looks as following. ...
0
votes
0answers
33 views

No data/empty response when setting up nginx

I'm trying to start working with nginx (never worked with anything similar before), and am just trying to get the basic index.html page to display. I'm running on OSX mountain lion, and ran brew ...
0
votes
0answers
33 views

I can't get nginx to log anything

I have installed nginx to ultimately serve a Rails app. Now, when I visit the ip of the server to check out the classic 'It works' page, I get the following message on the page that is served: An ...
0
votes
0answers
36 views

Pages from specific web server fail to load on Android browser

I have a weird problem I can't get a handle on. No page from the site http://www.donegalnow.com will load in the default Android browser. All pages from the same site load using Chrome for Android and ...
0
votes
0answers
98 views

Gitweb 404 - No projects found on ArchLinux ARM

I have some troubles with gitweb configuration on my RPi (powered by ArchLinux ARM). As you can see in the topic title I get "404 No projects founds" error. I followed ArchLinux wiki but it didn't ...
0
votes
0answers
136 views

Repository not found error for private git server

I am trying to set up a private git server with http(s) access on nginx. When I try to clone a repo, I get an error: $ git clone http://git.example.com/git/MyRepo.git Cloning into 'MyRepo'... ...
0
votes
0answers
51 views

WSGI, Ngnix, Python3, Debian Wheezy: what pkgs to install, how does it all fit in?

I'm working on a web-site. I would like to add some database functionality eventually: for this, i need to understand SQL, python-sqlite3, python-wsgi spec, python-uWSGI server and how all this is ...
0
votes
0answers
12 views

Low TPS using Virtualbox + Ubuntu + Nginx + PHP-FPM + Silex

I am trying to understand why I get such a low TPS rate on my development environment. I am using the following: Mac OS X Mavericks VirtualBox Ubuntu 14.04 Nginx PHP5-FPM Silex I did not tweak ...