Use Nginx to reverse proxy weblogic
I have been using apache as the front end of weblogic before, but due to the excellent performance of nginx for static content, I have to switch to nginx. Not here Then write the installation of weblogic. install nginx nginx needs pcre for support, and the general system comes with it. Of course, you can download a higher version of the source package and install it yourself. It is recommended that you use a higher version of pcre. In this way, there will be better support when using regular expressions. First go to http://wiki.nginx.org//NginxChs to download nginx, I used 0.7 # tar zxvf nginx-0.7.59.tar.gz # cd nginx-0.7.59 # ./configure –with-http_stub_status_module ?prefix=/opt/nginx # make # make install –with-http_stub_status_module Add nginx monitoring module to monitor Nginx current state of . Let’s configure nginx Configuration file, nginx.conf under /opt/nginx/conf, to save trouble, directly copy my configuration file: #user nobody; worker_processes 10; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; events { use epoll; //The way nginx handles connections, epoll – Efficient method for Linux kernel version 2.6 and later systems. worker_connections 51200; } http { include mime.types; default_type application/octet-stream; #log_format main ‘$remote_addr – $remote_user [$time_local] $request ‘ # ‘”$status” $body_bytes_sent “$http_referer”‘…