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

Re: Cannot even start nginx on windows

Thanks for the answer, itpp2012, but could you please give details?I cannot find any absolute path in nginx.conf, even after some '#'... Do you mean that I have to change all 'root' relative pathes to...

View Article


Re: Cannot even start nginx on windows

Its fairly simple;for example:error_log d:/webroot/logs/error.log;or:root 'd:/cache/root/xcadmin';

View Article


Redirecting folder to root with rewrite

I'm new to Nginx and try to redirect a directory for jpg-files to the root directory. For example the file /abc/jpg.jpg should be opened directly through /jpg.jpg.rewrite /(.*(jpg|jpeg))$ /directory/$1...

View Article

regex to redirect multiple domain only works if domain not declared elsewere

Hello, I encounter a strange problem while trying to redirect multiple similar domains. I explain.Imagine this DNS config:lollipop A 127.0.0.1chocolate A 127.0.0.1*.lollipop CNAME lollipop*.chocolate...

View Article

Re: Cannot even start nginx on windows

I see.My question was really from a newbie :-)Thanks,Philippe

View Article


Re: Nginx Rewrite for Wordpress and WPML

Hi,It's been a while since you posted this post... I encounter the exact same issue. Have you been able to fix it? Does anybody have a clue?Thanks.

View Article

Cannot get auth_basic working

Hi all,I am using nginx 1.5.12 on windows 7, and I cannot get basic authentication working...Here is the situation:- in nginx.conf:[...]location / {root html;index index.html index.htm;auth_basic...

View Article

Re: Cannot get auth_basic working

For generating passwords you need to use htpasswd.exe from apache.

View Article


Re: GET query string parameter access in C module

Trying to figure this out myself. So far I've run across this which is the best I've found so far:http://www.nginx-discovery.com/2011/03/day-39-get-parameters-from-your-module.html

View Article


Re: Cannot get auth_basic working

Thanks for your answer, I will try that way.However, I did follow the documentation:http://nginx.org/en/docs/http/ngx_http_auth_basic_module.html#auth_basic_user_filePhilippe.

View Article

Re: Cannot get auth_basic working

I have additional information:1 - These very same credentials...> - in c:/nginx/conf/htpasswd, nothing but these 2 lines:> phil:YAsIdyZPQf712> daniel:YAsIdyZPQf712>> - I did get the...

View Article

Rewrite url with "|" character?

Hi,Been searching and searching but I can't seem to figure this out.How do I rewrite a URL containing the pipe (|) character? If I try to do it with just a plain pipe then it seems to treat it like a...

View Article

Re: Rewrite url with "|" character?

You know how it goes... as soon as you ask the question and think about it some more, the solution comes to you and you feel foolish for asking.Here's how I did it:rewrite...

View Article


Re: Varnish using Nginx as reverse proxy

I came accross this thread looking up how to do exactly what you are wondering about.The reason why a lot of people will set it up nginx -> varnish -> nginx is because varnish does not support...

View Article

[P] MariaDB + Nginx + Adminer: Howto for working configuration

Hi!I have installedMariaDBNginxand I want to use Adminer for DB administration.Can somebody please provide a working configuration for this setup?THX

View Article


Maxmind geoip (netspeed and isp db)

Hello,can someone explain me how to get working geoip isp and netspeed db's from maxmind with nginx? Module ngx_http_geoip_module have config only for country and city db's (isp and netspeed have...

View Article

Nginx + Laravel Rewrites

Hi folksI try to setup my nginx with multiple laravel-projects in subdirectories:- root-- project 1-- project 2For that i conf my nignx as:// defaultserver {listen 192.168.178.10:80;server_name...

View Article


Re: Redirecting folder to root with rewrite

I have found a solution for the problem, now I use a second rewrite rule for other folders with jpg-files. Many Greetings

View Article

Streaming a live h264 video source?

Hi,I have a process that receives a H264 video call, and I want to stream this video in a html5 <video>element to a group of viewers.How do you recommend that I do that?Thanks,David

View Article

Redirecting urls with query strings via map module

Hi all,I'm a bit new to nginx, and I haven't been able to find documentation about this precise problem I've been having, apologize if this has already been covered:I set up a static mirror of a...

View Article
Browsing all 4759 articles
Browse latest View live


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