Desktop version

Main > Forum > 1C:Enterprise Platform > 1C:Enterprise – Business applications platform > 1CFresh - How to throw port 8080 in Apache Tomcat

Forum

Search UsersRules
1CFresh - How to throw port 8080 in Apache Tomcat
#1
Just came
Points:: 0
Joined:: Feb 29, 2012

Could you please help us with nginx settings. We have edited nginx.config file according to documentation and everything works except we have to specify the site port number explicitly, i.e. put "http://may.1vs.vn:8080/" instead of "http://may.1vs.vn". What we need to change to make the link "http://may.1vs.vn" work? Please, find current nginx.config file attached

Profile
#2
Active user
Points:: 0
Joined:: May 8, 2013

This file contains two sections "location / {}" which most probably causes the issue:

Code
location / {
    root   html;
    index  index.html index.htm;
}

location /{
    proxy_pass http://may.1vs.vn:8080;
    proxy_set_header Host $host;
}

To fix it you need to delete the first "location /" section.

Profile
#3
Just came
Points:: 0
Joined:: Feb 29, 2012

Thank you!

I resolved the problem.

Profile
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.