Thank you. I will check tomcat configuration.by nicksoft - Nginx Mailing List - English
For: wget http://127.0.0.1:8080/subdomain/ otuput: --2011-11-23 17:09:10-- http://127.0.0.1:8080/subdomain/ Connecting to 127.0.0.1:8080... connected. HTTP request sent, awaiting response... 200 OK Length: 4761 (4.6K) Saving to: `index.html' 100%[===========================================================================================>] 4,761 --.-K/s in 0s 2011-11-23by nicksoft - Nginx Mailing List - English
This is otput from console (Debian 6 min.): wget http://127.0.0.1:8080/subdomain/ --header "host: subdomain.mydomain.com" --debug DEBUG output created by Wget 1.12 on linux-gnu. --2011-11-23 17:04:15-- http://127.0.0.1:8080/subdomain/ Connecting to 127.0.0.1:8080... connected. Created socket 3. Releasing 0x08dfc180 (new refcount 0). Deleting unused 0x08dfc180. ---requeby nicksoft - Nginx Mailing List - English
I found error in nginx log: 2011/11/22 16:26:12 1423#0: *1 connect() failed (111: Connection refused) while connecting to upstream, client: xxx.yyy.zzz.vvv, server: subdomain.mydomain.com, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:8080/subdomain/", host: "subdomain.mydomain.com"by nicksoft - Nginx Mailing List - English
@faskiri.devel http://localhost:8080/subdomain/ is equals to http://localhost:8080/subdomain Both work the same. In DNS control Panel of my domain I have a 'A record' : subdomain.mydomain.com with IP adress of my VPS server (with nginx and tomcat). It should works.... I don't know what is wrong in my configuration.by nicksoft - Nginx Mailing List - English
Hi, I have a problem with configuration subdomains for nginx. I want to configure domains: mydomain.com (port 80) --> http://localhost:8080/ www.mydomain.com (port 80) --> http://localhost:8080/ subdomain.mydomain.com (port 80) --> http://localhost:8080/subdomain Tomcat listening at 8080 port on localhost. I have application 'subdomain' in tomcat webapps folder. This iby nicksoft - Nginx Mailing List - English
![]() |
![]() |
![]() |
![]() |
![]() |