Quantcast
Channel: Nginx Forum - How to...
Browsing all 4759 articles
Browse latest View live
↧

node.js help

i have node.js installed on my localhost as well as the mysql module.when running in command promt:var http = require('http');http.createServer(function (req, res) {res.writeHead(200, {'Content-Type':...

View Article


Purging nginx cache by deleting cache files does not always work

I run a PHP webservices API behind an nginx server (1.6.2). I use nginx's fastcgi_cache to cache all GET requests, and when certain resources are updated, I purge one or more related cached...

View Article


Forward proxy and authentication issue

Hi,I have configured nginx as a forward proxy with basic http authentication. When I'm trying to visit some website via nginx proxy, which has included links to other sites nginx asks me for a login...

View Article

error_log analysis and stats

Are there any open source tools to do nginx's error_log analysis and provides stats ? I notice that there lot of tools for analysising access_log e.g ngxtop, goacess but not error_log.

View Article

Re: error_log analysis and stats

Use awstats and customize it to your needs.

View Article


Breaking my mind on this

I hope someone can help me with this. I'm a happy Nginx user and I want to use it for a 'custom' application. I use Nginx for years for Magento and Wordpress installs, and of course these configs are...

View Article

Rewrite file.html as index.php?p=file.html

Hello all,I'm trying to configure nginx to rewrite a subdirectory so that when any .html file is requested it is rewritten on the back end to a php args. So far I have the following:location...

View Article

Uduntu upgrade to nginx 1.8.1. ok, but,,,

Hello everyone, I just upgraded nginx 1.4.6 to 1.8.0 seems like upgrade ok, but one problem with phpmyadmin; accesing locally:Now, localhost/phpmyadmin gives me blank page.Any idea? please..

View Article


Hide .php extension in URLs

Hi, I'm struggling with getting rewrites to work so that I can hide the ".php" on file extension. I'm running a photo site (called Piwigo) on nginx, and it creates URLs of the...

View Article


nginx & PHP-FPM / Connection header

I have PHP-FPM running behind an nginx server. One PHP script needs to transmit data and continue some more or less lengthy processing, thus it flushes all buffers and sends a "Connection: Close"...

View Article

Random error (upstream timeout)

Hello,a half year ago i changed the webserver from apache to nginx - at all it is much faster but its not working 100% perfect.I get randomly following error:2015/09/14 15:12:58 [error] 805300#763696:...

View Article

Log VLC access requests in nginx

In my company, we have a dreambox that receives satellite channels and broadcast to multiple users. The url to access one channel looks like this:...

View Article

Re: Random error (upstream timeout)

You might need more then one php-cgi process, as in a pool, in some cases when php is busy it will block nginx as well, see the install services on http://nginx-win.ecsds.eu/ for examples.

View Article


Re: Log VLC access requests in nginx

Interesting, we're doing the same thing with enigma2 boxes but we use xbmc (called kodi now), anyway are you sure vlc is not accessing the box directly bypassing nginx?

View Article

Re: Log VLC access requests in nginx

Hi,How can VLC bypass nginx? The dns entry of the url I enter in VLC leads to nginx. Moreover, when VLC disconnects, I see the event in the access logs. Also, if I open the same url from a browser, I...

View Article


Re: Log VLC access requests in nginx

If you see the disconnect you must also see the connect, maybe a difference between a get/post request where with post you don't see the url in the log.

View Article

Re: Log VLC access requests in nginx

I tested all log levels of nginx and none of them add any line in the logs (error and access) when VLC accesses this url.

View Article


Re: Log VLC access requests in nginx

Actually, I see the GET request only when I close the stream in VLC.Here it is:192.168.31.233 - - [15/Sep/2015:11:31:39 +0200] "GET /channel1 HTTP/1.1" 200 1712170 "-" "VLC/2.1.2 LibVLC/2.1.2"

View Article

Re: Log VLC access requests in nginx

Sounds like log buffering of some kind, could be that a continues open link is buffered until it is closed before it is written to the logs, which sounds logical as nginx does not yet know how much...

View Article

Re: Log VLC access requests in nginx

That makes sense. Especially with the following tests.How can I capture the request in Lua, please?I'm allowing users inside my company to access these urls without authentication, based on their IP.If...

View Article
Browsing all 4759 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>