now port 80 in Aliyun is occupied, and the domain name defaults to port 80, but I use 8081 for tomcat. Can I use the nginx to reverse the domain name to the native ip:8081, and hide the 8081 that the domain name needs to bring
?now port 80 in Aliyun is occupied, and the domain name defaults to port 80, but I use 8081 for tomcat. Can I use the nginx to reverse the domain name to the native ip:8081, and hide the 8081 that the domain name needs to bring
?Yes, you can first take a look at the concept of nginx virtual host. Nginx listens on port 80, but there can be multiple sites, so you can ask, nginx reverse proxy to 8081, the domain name does not need to take 8081 is just your hidden domain name?
you can add an individual name to your tomcat (set context
in server.xml), for example, the original www.aa.com can be set to www.aa.com/alias.
then nginx agent www.aa.com/alias
port 80 of this path, mapped to 8081
Previous: Notify permission issues
Next: How to understand the time components encapsulated by element?
first of all, the address of the reference document is here. https: cloud.tencent.com doc. is described in detail below. I want to learn to call Tencent Cloud s open OCR interface. After finding a lot of data, after solving the 401 error for the fi...
problem description there is a demand now. A website can be accessed directly with url. Or access it with an email link with an identified parameter. Now you need to record the number of times you visit the site through an e-mail link. Asked to do it ...
as mentioned, all I know is that nginx is multi-process. The main process (parent process) registers the IO event with the kernel through epoll. When the IO event occurs, the kernel sends a signal to the parent process, which is the parent process notif...
my vue port is 8090 background port is 8080 it is first configured in the proxyTable of vue api : { target: http: localhost:8080 , changeOrigin: true, pathRewrite: { ^ api : http: loc...
my vue port is 8090 background port is 8080 it is first configured in the proxyTable of vue api : { target: http: localhost:8080 , changeOrigin: true, pathRewrite: { ^ api : http: loc...
my vue port is 8090 background port is 8080 it is first configured in the proxyTable of vue api : { target: http: localhost:8080 , changeOrigin: true, pathRewrite: { ^ api : http: loc...