Ok i resolved with:
http {
port_in_redirect off;
}
in my nginx.conf
Now have another problem, when i go to test.domain.com/dashboard, nginx insert "/dashbord" at the beginning of URL and not find any files
/var/log/nginx/access.log:
"GET /dashboard/modules/notify/module.js HTTP/1.1" 404 199 "test.domain.com/dashboard/"
Directory dashboard not exist, how can remove "dashboard" from beginning of request?
http {
port_in_redirect off;
}
in my nginx.conf
Now have another problem, when i go to test.domain.com/dashboard, nginx insert "/dashbord" at the beginning of URL and not find any files
/var/log/nginx/access.log:
"GET /dashboard/modules/notify/module.js HTTP/1.1" 404 199 "test.domain.com/dashboard/"
Directory dashboard not exist, how can remove "dashboard" from beginning of request?