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

learn more… | top users | synonyms

0
votes
0answers
17 views

unable to run ffmpeg on nginx server [on hold]

i was trying to run the ffmpeg command on the ngnix server running on Webmin/virtualmin. echo exec("/usr/local/bin/ffmpeg -i test.mp3 -codec:a libmp3lame -b:a 128k out.mp3"); And $ffmpegpath= ...
0
votes
0answers
8 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
8 views

Nginx puts its logs to my terminal(stdout), how to stop it?

My laptop is Archlinux, with Nginx 1.6.2 installed. I've never touched Nginx's log configuration, but out of blue, when I try to access the local website, the logs will be printed to the opening ...
0
votes
0answers
10 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
1answer
20 views

Redirect web socket connections to newly created docker container with nginx

I created a Docker image which exposes a certain port, and listens for a single web socket connection. Is it possible to configure nginx in a way, so that for each new incoming web socket connection, ...
0
votes
0answers
22 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
58 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
1answer
65 views

How to configure NGINX for multiple apps (including Laravel) without domain name

I have an Ubuntu install on a VPS. I do not have any domain name so all content is accessed via https://IP:port. I have been trying to configure nginx so as to run several webapps accessed via ...
0
votes
0answers
31 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
1answer
29 views

Can't get HTTP request time with goaccess from nginx log

I've we websites hosted on nginx web server. I've added HTTP request duration to nginx logs, and nginx logs that data. http://nginx.org/en/docs/http/ngx_http_log_module.html I also have goaccess log ...
0
votes
1answer
198 views

OSX Yosemite can't bind brew nginx to port 80

Installed nginx and php-fpm via Homebrew. I've disabled native Apache 2.4 that comes with OSX by running: glfx:~ glfx$ sudo launchctl unload -w /System/Library/LaunchDaemons/org.apache.httpd.plist ...
0
votes
1answer
43 views

Nginx not starting as a Windows Service

I'm trying to run nginx as a service on windows 8 but i'm unable to start it as a service. I don't see any error in the logs after running .\nginx -c conf\nginx.windows.conf in the powershell. Cursor ...
0
votes
0answers
40 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
1answer
120 views

Owncloud in subdirectoy on arch + nginx + uwsgi

After several system updates of my Arch linux server, the owncloud web interface it is hosting stopped working. Unfortunately I noticed it only recently and I can't really go back to working system ...
0
votes
2answers
31 views

nginx on vagrant box doesn't start automatically

I've set up a vagrant box with this vagrantfile: # -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure(2) do |config| config.vm.box = "puphpet/debian75-x64" config.vm.synced_folder "../.", ...
0
votes
0answers
20 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
52 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
38 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
1answer
12 views

nginx and mailman: forward to listinfo by default

I struggle now for quite a bit with the problem to get mailman and nginx running. Everything works fine but if the user vists just the domain, i get a HTTP 502 error. How can i say nginx that it ...
0
votes
0answers
23 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
123 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
28 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 ...
1
vote
0answers
53 views

502 Bad, Gateway Ruby on Rails [closed]

Our website is currently down(hosted on Digital Ocean) with error code "502 Bad Gateway" and our web developer is currently out on Vacation. I am just an IT person on our network and I don't have web ...
1
vote
0answers
69 views

Nginx document root stuck at /usr/share/nginx/html

I have just installed and configured my dev stack on this testing unit but I'm stuck at setting the document's root. See, I have already changed the contents on /etc/nginx/nginx.conf accordingly: ...
0
votes
0answers
19 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
28 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
73 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
76 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
32 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 ...
1
vote
0answers
22 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 ...
0
votes
1answer
23 views

Propagating visitor IP through nginx

I have a node.js site fronted by nginx. So that when request gets to the site the IP in the request is 127.0.0.1 Is there anyway to modify the request while it is under nginx control so that node.js ...
1
vote
1answer
176 views

Plesk (or similar) admin panel for NodeJS hosting

I am wondering if there any Plesk-like control panels to offer NodeJS hosting. I am trying to find out if it is possible to replace Apache and PHP with NodeJS and NGINX for vhosts, while MySQL ...
0
votes
1answer
40 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 ...
0
votes
0answers
11 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 ...
0
votes
2answers
37 views

What file to add to nginx certificate

I got a RaspberryPi on which I want to host Owncloud. So I followed this tutorial and it works well except the SSL part. I don't want to use self signed. I set my own subdomain and it works without ...
0
votes
0answers
89 views

Find issues in PHP site hosted under Nginx and PHP-FPM, no log error

I'm setting up a Wordpress site under Nginx 1.6.2 + PHP-FPM (PHP 5.5.18). This is the configuration for WP site: server { root /var/www/html/jurisprudencia.dev; index index.php ...
0
votes
0answers
44 views

nginx is still linked to old openssl

We're running CentOS 6.5. We recently updated via yum: OpenSSL to OpenSSL 1.0.1e-30.el6_6.4 nginx to nginx-1.6.2-1.el5.ngx However, I noticed that even though nginx was configured to use TLS v1, ...
0
votes
1answer
53 views

Images and styles do not load in GitLab

I've installed gitlab on arch and now when I connect to it using localhost, everything displays fine If I use my domain, it works but displays no icons or images and the stylesheet is messed up
0
votes
1answer
180 views

Host multiple website using nginx on the same IP [duplicate]

I've set up a Raspberry Pi to act as web server, so I've installed nginx with php5 and I bought two domains: domain1.co.uk Domain2.it I have a static IP which is linked to these two domains, so if ...
0
votes
1answer
110 views

nginx not accessible from public IP, but is on 127.0.0.1

I am trying to set up nginx as a reverse proxy with HTTP Authentication to a site running on IIS. I have modified the http.sys bindings, as well as my IIS site bindings so that nginx can successfully ...
0
votes
0answers
71 views

301 redirect DNS issues related to Nginx change

I think I screwed up something in my Nginx configuration. Here is how I can explain it: I own a domain lets call it abc.com Before all the issues happened DNS was configured in the following way at ...
0
votes
1answer
129 views

How to show file in browser instead of downloading?

I'm using Owncloud (behind Nginx) to share a file. When I generate a share link, the link points me to the download page or if I append "&download", it immediately starts downloading the file. ...
0
votes
1answer
119 views

nginx proxy_pass and virtual hosts within LAN returns 404

I hope this makes sense. Basically, I have set up a local server on my MAC using nginx, with these rules for the proxy_pass: location /engine/rest { proxy_pass ...
1
vote
1answer
359 views

Why can't nginx access puma socket on CentOS 7?

So I have a Ruby on Rails app in /var/www/ owned by nginx with 755 permissions. Said app is intended to be deployed via puma. Like so: rvmsudo -u nginx bundle exec puma -e production -d -b ...
0
votes
0answers
39 views

In Nginx Configuration, if I am doing a reverse proxy, is there a way to filter layout of the webpage to-be-displayed, i.e., a logo?

Is there a way to filter, for instance, a site logo, when using a reverse proxy in Nginx configuration? How would I go about doing this? Thanks in advance...
1
vote
1answer
567 views

nginx 403 Forbidden on CentOS (Vagrant)

What I have checked so far: Logs - they are empty, booted a new VM. Permissions: $ namei -l /var/www/awesome/ f: /var/www/awesome/ dr-xr-xr-x root root / drwxr-xr-x root ...
0
votes
1answer
69 views

how to monitor network/cpu/memory/disk usage by each Rails app

I run many Rails app on linode VPS I want to charge my customers by their usage, Is there anyway to monitor each Rails app's usage ? I need these information network/cpu/memory/disk usage Any ...
0
votes
0answers
229 views

Rewrite or internal redirection cycle while internally redirecting to “index.php”, request: "GET /etc/lib/[some-folder]/[some-php-file].php

Finding this error in my error.log Rewrite or internal redirection cycle while internally redirecting to "index.php", request: "GET /etc/lib/[some-folder]/[some-php-file].php I guess someone ...
0
votes
1answer
204 views

Nginx, php-fpm, virtual hosts and premissions

I have apache-mpm-itk + php_module setup and user's folders/files belongs to them. But I want to migrate several accounts to nginx + php-fpm. What should be the right permissions on folders/files if ...
1
vote
1answer
115 views

Nginx slow downloads even with low disk io

I run a small video streaming website and i've been noticing some problems with videos on my site. I have multiple 1gbit servers and the servers are only going at 1/4 port speed. When I try to load ...