国产chinesehdxxxx野外,国产av无码专区亚洲av琪琪,播放男人添女人下边视频,成人国产精品一区二区免费看,chinese丰满人妻videos

允許Fundebug下載Source Map文件

2019-02-20 16:05 更新

如果您將Source Map文件(即.map文件)部署到生產服務器上,Fundebug則會自動下載Source Map文件,用于還原壓縮代碼。為了保證代碼安全性,您可以通過修改網頁服務器或者代理服務器的配置,僅允許Fundebug下載Source Map文件即可。

IP

Fundebug用于下載Source Map文件的服務器IP為120.77.45.162和120.79.16.115。

Nginx配置方式

在nginx配置文件中新增location模塊,使用正則表達式匹配.map文件。其中/dist/為Source Map文件所在目錄路徑:

location ~ ^/dist/(.+)\.map$ 
{
    allow 120.77.45.162;
    allow 120.79.16.115;
    deny all;

    proxy_set_header X-Real-IP $remote_addr;
    proxy_set_header X-Forwarded-For $remote_addr;
    proxy_set_header Host $host;
    proxy_pass http://192.168.59.225:8000;
}

Apache配置方式

<FilesMatch "\.map$">
    Order deny,allow
    Deny from all
    Allow from 120.77.45.162
    Allow from 120.79.16.115
</FilesMatch>


以上內容是否對您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號
微信公眾號

編程獅公眾號