http://wiki.ubuntu.org.cn/Nginx
sudo apt-get install nginx
sudo /etc/init.d/nginx start
sudo dpkg -i XX.deb 配置tomcat upstream tomcat{ server 192.168.1.238:8081; } server { listen 80; server_name 192.168.1.238; charset utf-8; #access_log logs/host.access.log main; proxy_connect_timeout 5; proxy_read_timeout 3600; proxy_send_timeout 3600; location / { proxy_set_header X-Real-IP $remote_addr; proxy_set_header Host $host; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass http://tomcat; } }
相关推荐
资源内容:ubuntu 1804 nginx离线安装包 适用场景:无互联网环境的ubuntu 1804服务器的nginx离线部署 适用人群:运维,学习离线部署的学生 所需技能:常用的linux操作命令
Ubuntu14.04.2下nginx1.6和sticky1.1模块的安装与简单配置,包括像文档和支持包
ubuntu开机自启动nginx服务
ubuntunginx+PHP+mysql服务器搭建.pdf
ubuntu nginx+PHP+mysql服务器搭建.pdf
ubuntunginx+PHP+mysql服务器搭建.rar
ubuntunginx+PHP+mysql服务器搭建参考.pdf
ubuntunginx+PHP+mysql服务器搭建资料.pdf
基于Ubuntu Nginx Mongrel Mysql部署rails monit-5.0
ubuntu20.04无网dpkg安装nginx
Ubuntu中Nginx服务器安装配置教程
解压后 执行: dpkg -i *.deb 里面包含gcc make 和nginx
可以直接将nginx文件夹中所有deb文件拷贝在/var/cache/apt/archives中,离线安装,依据提示再安装其他,安装其他的时候可能会有嵌套依赖安装,安装指令sudo dpkg -i *.deb,安装过程都相同,安装后删除/var/cache/...
Ubuntu系统Daphne + Nginx部署Python Django项目精讲,可支持多进程【含代码说明】
nginx-autoinstall, 在Debian和Ubuntu上,使用定制模块从源代码编译 Nginx 自动安装通过optionnal模块编译和安装 Nginx 。 兼容性x86,x64,arm*Debian 8和更高版本Ubuntu 16.04和更高版本特性最新的主线或者稳定...
因为工作网络的特殊性,服务器是不连互联网的,所以整个安装过程都是采用离线包安装的方式来安装。 一般我们都需要先装pcre,zlib,前者用于url rewrite,后者用于gzip压缩,openssl用于后续可能升级到https时使用。
博文链接:https://swachian.iteye.com/blog/175033