Welcome! Log In Create A New Profile

Advanced

Hosting a web application from a subsite

Ron Scott-Adams
July 07, 2014 02:40AM
I’m not having much luck trying to configure this site the way I want. I’m modifying http://wiki.nginx.org/Piwik to suit a case in which it is served out of a subsite location, e.g. example.com/stats.

I’ve created 2 configuration files. One is included outside the server sections of the main site’s configuration file: http://paste2.org/e8HcPkda

The second is included from the server 443 section of the site: http://paste2.org/ts8j5VWK

I was attempting to deliver this via proxy_pass, but it appears I’ve failed: the error log throws:
[error] 30196#0: *6289 upstream sent unsupported FastCGI protocol version: 72 while reading response header from upstream, client: 185.47.241.122, server: tohuw.net, request: "GET /stats/ HTTP/1.1", upstream: "fastcgi://127.0..0.1:8001", host: "tohuw.net"
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Hosting a web application from a subsite

Ron Scott-Adams July 07, 2014 02:40AM

Re: Hosting a web application from a subsite

Maxim Dounin July 07, 2014 09:12AM

Re: Hosting a web application from a subsite

Ron Scott-Adams July 07, 2014 02:06PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 309
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready