nginx代理网站子目录到本地目录
📝
内容提要
使用nginx的alias即可,例如下边的配置将子目录static_web代理到/www/wwwroot/bg.ctftools.com路径,访问http://xxx.xx/static_web/index.h
🏷️
标签
➡️
使用nginx的alias即可,例如下边的配置将子目录static_web代理到/www/wwwroot/bg.ctftools.com路径,访问http://xxx.xx/static_web/index.h