s.
On Wed, Mar 23, 2016 at 9:03 AM, Alt wrote:
> Hello,
>
> I don't know CentOS, so I can't really help, but there are some
> instructions
> here: http://nginx.org/en/linux_packages.html
> And if you are getting an error, could you give more details (error,
> comman
Hello,
I don't know CentOS, so I can't really help, but there are some instructions
here: http://nginx.org/en/linux_packages.html
And if you are getting an error, could you give more details (error,
commands you are typing,...)?
Best Regards
Posted at Nginx Forum:
https://forum
Anyone here?
caibo 11642 (RD)
-
??,?
?(??
???)??
Yep, I didn't realize the _module suffix was required. It built
successfully, thank you!
On 12/11/2014 11:12 PM, cubicdaiya wrote:
> Hello.
>
> Why don't you apply a difference below?
>
> --- config.orig 2014-12-12 16:10:06.0 +0900
> +++ config 2014-12
Hello.
Why don't you apply a difference below?
--- config.orig 2014-12-12 16:10:06.0 +0900
+++ config 2014-12-12 16:06:19.0 +0900
@@ -1,3 +1,3 @@
-ngx_addon_name=ngx_http_hello_dolly
-HTTP_MODULES="$HTTP_MODULES ngx_http_hello_dolly"
Hello,
I am trying to build a simple nginx module to learn more about nginx's
internals. I have copied several hello world examples into my own
module: http://pastebin.com/esHFtaMw
And the config file: http://pastebin.com/t1fpEPe6
I've downloaded nginx 1.7.8 onto a vanilla Ubuntu 14.
Hello!
On Sat, Aug 23, 2014 at 07:03:32PM +0100, Martin Frb wrote:
> Hi,
>
> My name is Martin. I am new to this list (obvious), and new to nginx as
> well.
> I hope this is the right place for the feedback I have, if not please
> correct me. Well the below may be for the bugt
Hi,
My name is Martin. I am new to this list (obvious), and new to nginx as
well.
I hope this is the right place for the feedback I have, if not please
correct me. Well the below may be for the bugtracker. Except: It is yet
to be confirmed as bug, I was unable to find a way to register. (I do
On Monday 03 February 2014 14:28:41 Josh Stratton wrote:
> Right, and that's fine. It just seems a bizarre behavior. I would have
> expected an nginx error or something. Thanks for all your help getting it
> figured out. nginx's configuration seems very intuitive in general.
Well, I tend to agr
Right, and that's fine. It just seems a bizarre behavior. I would have
expected an nginx error or something. Thanks for all your help getting it
figured out. nginx's configuration seems very intuitive in general.
On Mon, Feb 3, 2014 at 2:13 PM, Valentin V. Bartenev wrote:
> On Monday 03 Febru
On Monday 03 February 2014 12:59:28 Josh Stratton wrote:
> What does the DNS server have to do with it? I thought it just translated
> domain names to IP addresses. I thought the browser queries the DNS, gets
> the IP from the domain name (which is the same for both domains--with or
> without www
What does the DNS server have to do with it? I thought it just translated
domain names to IP addresses. I thought the browser queries the DNS, gets
the IP from the domain name (which is the same for both domains--with or
without www), and returns it to the browser. The browser then fires the
req
On Monday 03 February 2014 12:32:53 Josh Stratton wrote:
> Right, I actually have those lines commented out. That's the part I don't
> understand. For example, if I put everything in the same file (example
> below), neither one of them have a default_server or a wildcard. The only
> other option
Right, I actually have those lines commented out. That's the part I don't
understand. For example, if I put everything in the same file (example
below), neither one of them have a default_server or a wildcard. The only
other option I see from the link you sent me is www.morebears.com is
getting
On Monday 03 February 2014 11:48:41 Josh Stratton wrote:
> > or to the first one in the configuration if there is no such
> > parameter.
>
> As if all the server blocks are configured together? That sounds really
> strange to me, that one server block could be the default for another
> server blo
> or to the first one in the configuration if there is no such
parameter.
As if all the server blocks are configured together? That sounds really
strange to me, that one server block could be the default for another
server block.
# rgrep default_server /etc/nginx/
/etc/nginx/sites-available/stra
On Monday 03 February 2014 11:21:06 Josh Stratton wrote:
> How long is that cache kept?
It depends on browser if there were no cache-related headers in response.
> If it redirected to the other one, will be redirect on my phone indefinitely?
>
> I tried clearly my phone's settings and it stil
How long is that cache kept? If it redirected to the other one, will be
redirect on my phone indefinitely? I tried clearly my phone's settings and
it still pulls up the other site's page--the old page, too, as I've changed
the words. Is nginx saying this page is cacheable and thus not returning
On Monday 03 February 2014 10:52:29 Josh Stratton wrote:
> Nevermind. I found the answer here that fixed it. I'm redirecting from
> www now. Still don't understand why it fell back to the other server
> block.
[..]
This article should shed the light:
http://nginx.org/en/docs/http/server_names.
On Monday 03 February 2014 10:57:33 Josh Stratton wrote:
> As a test, if I add a querystring to see if it breaks the cache, it does
> work. Is this an ISP cache?
>
> www.morebearsmore.com goes to strattonbrazil.com server block
> www.morebearsmore.com?foo=7 goes to the correct morebearsmore.com s
As a test, if I add a querystring to see if it breaks the cache, it does
work. Is this an ISP cache?
www.morebearsmore.com goes to strattonbrazil.com server block
www.morebearsmore.com?foo=7 goes to the correct morebearsmore.com server
block
On Mon, Feb 3, 2014 at 10:55 AM, Josh Stratton wrote:
That's strange. It only fixed it on my desktop. It still goes to the
strattonbrazil.com site when I type in www.morebearsmore.com on my phone,
which was the original problem. Is the phone doing some kind of caching?
Why would this happen on a windows phone and iphone with nginx (and apache
when
Nevermind. I found the answer here that fixed it. I'm redirecting from
www now. Still don't understand why it fell back to the other server
block.
http://stackoverflow.com/questions/9951827/www-in-domain-not-working-in-nginx
server {
server_name www.morebearsmore.com;
return 301 http:/
I think I have everything working as expected. The only thing that's still
strange to me is when I go to the morebearsmore.com domain with "www"
prefixed to it, it goes to the test html file in the other server block. I
had this problem in apache, so I switched to nginx and I'm still seeing it.
On Monday 03 February 2014 09:13:24 Josh Stratton wrote:
> This is my nginx.conf page, which I haven't done anything with. The
> /etc/nginx/conf.d/ directory on my machine is empty.
[..]
> include /etc/nginx/conf.d/*.conf;
> include /etc/nginx/sites-enabled/*;
> }
>
Ok. Did you reload nginx af
This is my nginx.conf page, which I haven't done anything with. The
/etc/nginx/conf.d/ directory on my machine is empty.
user www-data;
worker_processes 4;
pid /run/nginx.pid;
events {
worker_connections 768;
# multi_accept on;
}
http {
##
# Basic Settings
##
sendfile on;
tcp_nopush on;
tcp_n
On Sunday 02 February 2014 09:14:03 Josh Stratton wrote:
> I've followed the tutorial below to setup a couple of server blocks, but I
> get the "Welcome to nginx" message every time.
>
> https://www.digitalocean.com/community/articles/how-to-set-up-nginx-virtual-hosts-server-blocks-on-ubuntu-12-04
si.rules
}
location /doc/ {
alias /usr/share/doc/;
autoindex on;
allow 127.0.0.1;
allow ::1;
deny all;
}
}
I've added a "hello world" index file to that directory, too.
$ ls -l /var/www/strattonbrazil.com/public_html/index.html
-rw-r--r-- 1 root root 148 Feb 2 16:41 /var
Hello!
On Tue, Jan 28, 2014 at 3:51 AM, Shohreh wrote:
>
> Thanks for the tip, it works. Is there a tutorial besides the following page
> about how to write Lua scripts through ngx_lua?
> http://wiki.nginx.org/HttpLuaModule
>
You can find a lot of resources on the openre
Yichun Zhang (agentzh) Wrote:
---
> Alternatively one can set the Content-Type response header directly in Lua
(which is more flexible):
>
> content_by_lua '
> ngx.header["Content-Type"] = "text/plain
Hello!
On Mon, Jan 27, 2014 at 6:00 AM, Jader H. Silva wrote:
>
> You need to set the content-type to this location. e.g.:
>
> add_header Content-Type text/plain;
>
Alternatively one can set the Content-Type response header directly in
Lua (which is more flexible):
Hello. You must use ngx.print
<http://wiki.nginx.org/HttpLuaModule#ngx.print>instead of print to output
into the response body.
2014-01-27 Shohreh
> Thanks for the tip.
>
> After editing nginx.conf thusly...
> ==
> ...
> location / {
> root ht
Thanks for the tip.
After editing nginx.conf thusly...
==
...
location / {
root html;
index index.html index.htm;
content_by_lua_file html/hello.lua;
add_header Content-Type text/plain;
}
...
==
... the script simply displays an empty page, with no error
Hello.
You need to set the content-type to this location. e.g.:
add_header Content-Type text/plain;
2014-01-27 Shohreh
> Hello
>
> Now that I have a working Nginx with the ngx_lua module, I'd like to start
> learning how to write web scripts.
>
> The following pa
Hello
Now that I have a working Nginx with the ngx_lua module, I'd like to start
learning how to write web scripts.
The following page doesn't have a basic sample:
http://wiki.nginx.org/HttpLuaModule
So I used the following...
http://yichunzhang.wordpress.com/2010/05/18/a-simple-ngx_l
/nginx/nginx-blocking/ for an
example. Note that use of the "if" statement is not considered a great
idea, see: http://wiki.nginx.org/IfIsEvil.
Ilan
On Sun, Dec 15, 2013 at 10:21 AM, nginx14 wrote:
> Hello, I have a nginx server is enabled.
> And I have a file called htaccess
&
On 15 December 2013 15:21, nginx14 wrote:
> Hello, I have a nginx server is enabled.
> And I have a file called htaccess
> The file should cause to allowing accessed only from Israel.
>
> But the file does not work,
> I realized that it is related to nginx only.
Nginx does not
Hello, I have a nginx server is enabled.
And I have a file called htaccess
The file should cause to allowing accessed only from Israel.
But the file does not work,
I realized that it is related to nginx only.
What can you do?
Posted at Nginx Forum:
http://forum.nginx.org/read.php
38 matches
Mail list logo