Hi!
First, sorry if my english isn't perfect, i hope you understand what my problem is.
I have an Ubuntu 14.04 LTS x64 with nginx and subsonic on a vserver with 1 IP.
What i want:
- Homepage on domain.com
- Subsonic on subdomain.domain.com
With my configuration it works half... on domain.com is my website, and subdomain.domain.com is redirected to domain.com:4040 where subsonic is running...
What do i have to configure that the browser shows subdomain.domain.com instead of domain.com:4040 when open subdomain.domain.com?
I have configured this server block for the subdomain - i think its not correct...
server {
listen 80;
listen [::]:80;
server_name megeza.uugoma.com;
return 301 http://uugoma.com:4040$request_uri;
}
Thank you for your help!
First, sorry if my english isn't perfect, i hope you understand what my problem is.
I have an Ubuntu 14.04 LTS x64 with nginx and subsonic on a vserver with 1 IP.
What i want:
- Homepage on domain.com
- Subsonic on subdomain.domain.com
With my configuration it works half... on domain.com is my website, and subdomain.domain.com is redirected to domain.com:4040 where subsonic is running...
What do i have to configure that the browser shows subdomain.domain.com instead of domain.com:4040 when open subdomain.domain.com?
I have configured this server block for the subdomain - i think its not correct...
server {
listen 80;
listen [::]:80;
server_name megeza.uugoma.com;
return 301 http://uugoma.com:4040$request_uri;
}
Thank you for your help!