Nginx反向代理,轉發請求至後端服務器

傳送門:Nginx部署靜態web工程html 背景: 使用nginx做爲反向代理服務器,將80請求轉發至後端tomcat服務器 步驟: 1) 修改tomcat端口爲8080 2) nginx中新建tomcats.conf配置文件 文件內容以下:nginx server { listen 80; server_name localhost;(想要設置的訪
相關文章
相關標籤/搜索