1 Jun 2010 01:06
Re: Re: cannot get node deployed on Ubuntu Lucid
I realize node-router is not causing the 403, just that it is
redirecting to different pages and somewhere nginx is not getting to or
has wrong permissions.
thks Tim for the sample config.
If I run curl with the domain I get html with "301 Moved Permanently"
I don't understand where the add_header label comes from - our config is
below with the exception that we changed location / to using proxy_pass
On 05/31/2010 05:29 AM, Timothy Caswell wrote:
> Very strange. 403 errors come from nginx not node-router. If you get a 403 I'm pretty sure it's never
hitting the node app. Here is my nginx config for howtonode.org if it helps:
>
> server {
> listen 80;
> server_name www.howtonode.org;
> rewrite ^/(.*) http://howtonode.org permanent;
> }
>
> upstream backend {
> server unix:/tmp/howtonode.sock;
> }
>
> server {
> listen 80;
> server_name howtonode.org;
> location / {
> server_tokens off;
(Continue reading)
RSS Feed