Skip to content

CrytisMT/MockPlatform

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MockPlatform

接口mock平台

需要配合nginx使用,增加如下location

    	location ~ /mockserver/ {
        proxy_pass http://mock_001;
        proxy_set_header   Host             $host;
        proxy_set_header   X-Real-IP        $remote_addr;
        proxy_set_header   X-Forwarded-For  $proxy_add_x_forwarded_for;

        rewrite ^(.*)$ /mockserver?url=$uri&query=$args;
}

About

接口mock平台

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published