search

Home  >  Q&A  >  body text

jboss - nginx server basic question?

I have an Alibaba Cloud server. The operating system is windows server 2008. I have installed the jboss server, applied for a domain name, and have resolved the domain name to the space. The current project access path is as follows,
http://beta.yaoxiao2.cn:8180/admin/login.html2

The effect I expect is this: http://beta.yaoxiao2.cn/admin/login.html2; that is, access the website through the port number
Question:
1. How to achieve port removal No. to visit?
2. How to configure port number access through nginx.

Please give me some advice and be grateful...

我想大声告诉你我想大声告诉你2754 days ago685

reply all(3)I'll reply

  • 仅有的幸福

    仅有的幸福2017-05-16 17:19:33

    Go to the port number? ? Generally, the default is port 80, so the so-called port number is actually using port 80. . Moreover, nginx under Linux listens to port 80 by default. Why is your server running Windows

    reply
    0
  • 为情所困

    为情所困2017-05-16 17:19:33

    Deleting the port means using the default port 80. . Feel free to register

    reply
    0
  • 怪我咯

    怪我咯2017-05-16 17:19:33

    Wait. Running Nginx on Windows? Why, Nginx is inherently determined to show its power under Linux.

    nginx server configuration is as follows:

    location / {
        proxy_pass http://127.0.0.1:8180/;
    }

    reply
    0
  • Cancelreply