Skip to content

ashilye/srb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 Cannot retrieve latest commit at this time.

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

反向代理 nginx 配置: 1.解压 nginx-1.18.0.zip 2.打开 nginx-1.18.0\conf\nginx.conf

    server {
        listen       80;
        server_name  localhost;
     
       # 配置反向代理	--->开始<---
        location ~ /core/ {
	        proxy_pass http://localhost:8110;
        }

        location ~ /sms/ {
	        proxy_pass http://localhost:8120;
        }

        location ~ /oss/ {
	        proxy_pass http://localhost:8130;
        }
     # 配置反向代理	--->结束<---

        #charset koi8-r;

        #access_log  logs/host.access.log  main;

  1. 启动/停止 nginx-1.18.0目录下cmd

    start nginx.exe //启动 nginx.exe -s stop //停止 nginx.exe -s reload //重新加载

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages