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

Nginx Cna't serve the Html PAge

favoriteNginx can't server the index.html pageHere is my nginx conf :location = / {fastcgi_read_timeout 3600;try_files $uri /index.php $uri =503;fastcgi_pass 127.0.0.1:9001;fastcgi_index...

View Article


How to enable SPDY on Windows?

I'm having a lot of trouble finding any information on how to enable SPDY support on NGINX for Windows OS. Do I have to compile it for Windows with SPDY support?

View Article


nginx proxy server serving from wrong document root

I have a Double Quad-Core Centos 6.3 server with 32GB ram.I have installed nginx for serving static files and as reverse proxy server to apache as the backend. The panel I am using is IspConfig...

View Article

404 errors

Hello ,I have installed Nginx on my direct admin server ( centos ) but I get 404 not found error instead of loading the websites when I stop the apache and start Nginxcan you please help me?thank you...

View Article

Conflicting apt-get apache issues (part 2)

For weeks I've been trying to upgrade nginx and php on an up-to-date squeeze server, only to find that everytime I let apt do this, it installs either apache or lighttpd and ruins my nginx (solo)...

View Article


Location directive not matching

Hi,I posted this question to stackoverflow but I didn't get the help I was looking for.Could anyone help me with this?...

View Article

nginx reload failed when using an encrypted key as ssl_certificate_key

for some reasons, we used an encrypted key as ssl_certificate_key.After execute "./sbin/nginx -s reload", we expect ex worker process will be quit and new worker process will be create。But...

View Article

IP deny is skipped when error page filename entered.

I'm using Nginx 1.4.2. In my location block I have:deny all;error_page 403 /403.html;error_page 404 =301 http://www.redirect-domain.com;In my server block I have:location /403.html {root /var/test/;...

View Article


Re: nginx reload failed when using an encrypted key as ssl_certificate_key

[root@localhost nginx_debug]# ./sbin/nginx -Vnginx version: nginx/1.2.3TLS SNI support enabledconfigure arguments: --prefix=/usr/local/nginx_debug --with-http_ssl_module...

View Article


Filter not working

I'm not sure this is the best forum section for questions about writing modules, so feel free to redirect me to a more apropriate section.I'm reading the Emiller's guide to Nginx module development...

View Article

nginx 1.2.9 (Windows) worker memory footprint

Hi,I am using nginx 1.2.9 on a 64-bit Windows Server. I have observed that the worker process's memory footprint tends to increase over time and at around 2GB a new worker tries to spawn; at which...

View Article

Re: Filter not working

For the record, I found out how to make it work; I must set the buffer I create as being in memory, or the function ngx_buf_size() returns 0. Reading it's deffinition, we can see that it's meant to do...

View Article

[Regex]how to excludespecific filefromregex

Hi,as i can't understandregex (seems likei'm stupid -.-) ihopesomeofyou could help me...I'd like to have a regex that rewrites all hidden files (and directories) to 404,BUT files named ".album.jpg" in...

View Article


Re: nginx reload failed when using an encrypted key as ssl_certificate_key

I found it's not the nginx problem .#0 read_string_inner (ui=0x116d360, uis=0x116d550, echo=0, strip_nl=1) at ui_openssl.c:448#1 0x00000000005de91c in read_string (ui=0x116d360, uis=0x116d550) at...

View Article

Re: nginx 1.2.9 (Windows) worker memory footprint

Never seen this happen, using 1.4.2, even with the 1.2 branch memory use remained stable, don't use more then 1 worker.

View Article


fastcgi location in conf and spawn-fcgi (FreeBSD)

Hello, My system is FreeBSD-Stable (9.2) amd64, nginx 1.5.2.. I am migrating from lighttpd and have 2 questions:1. I have read several places (http://wiki.nginx.org/FcgiExample) that fastcgi must be...

View Article

Re: nginx 1.2.9 (Windows) worker memory footprint

Thanks for your reply.I am using just one worker. Here's my conf:#user nobody;worker_processes 1;#error_log logs/error.log;#error_log logs/error.log notice;#error_log logs/error.log info;#pid...

View Article


Cannot stop nginx service on windows.

Hi,I installed nginx on windows and starting nginx sucessfuly. But when i issued "nginx -s reload", i saw this line:"nginx: [error] CreateFile() "c:\nginx-1.4.2/logs/nginx.pid" failed (2: The system...

View Article

client closed prematurely connection while sending mp4 to client

Hello,I am using the mp4 video streaming module and I'm trying to get it working on iphones and tablets. For what ever reason when I stream the videos on my iphone I get an error message in the player...

View Article

How to restrict access to wordpress wp-login.php

Hi!I successfully restricted the access to wp-admin pages with the following directive (as shown here http://forum.nginx.org/read.php?11,220878):location /wp-login\.php {allow 192.168.1.3;deny all;}But...

View Article
Browsing all 4759 articles
Browse latest View live