
環(huán)境說明 ZLMediaKit編譯需要的軟件 visual studio[https://visualstudio.microsoft.com/zh-hans/downloa...
博主奋隶,請(qǐng)教一個(gè)問題备典。我是需要nginx代理到senty,實(shí)現(xiàn)瀏覽器通過https://192.168.201.3代理到http://192.168.201.3:9000准给,我的配置如下
```
server {
listen 443 ssl;
server_name 192.169.210.3;
location / {
proxy_pass http://localhost:9000;
}
}
```
然后dns配置如下
```
dsn: 'https://0b06bb09522c406db87765fc44e0f4e6@192.168.201.3/2',
```
這樣代理的話,無論訪問它的后臺(tái)管理系統(tǒng),還是上傳報(bào)錯(cuò)接口都是OK的曲掰,但是我們的location不單單是一個(gè),因此需要https://192.168.201.3/sentry代理到http://192.168.201.3:9000, 我的配置是
```
server {
listen 443 ssl;
server_name 192.169.210.3;
location ~/sentry {
proxy_pass http://localhost:9000;
}
}
```
dsn
```
dsn: 'https://0b06bb09522c406db87765fc44e0f4e6@192.168.201.3/sentry/2',
```
雖然跳轉(zhuǎn)到登錄是正確的胎许,但是返回其他頁面有些出錯(cuò)404峻呛,特別是上傳報(bào)錯(cuò)接口403
```
CSRF Verification Failed
A required security token was not found or was invalid.
If you're continually seeing this issue, try the following:
Clear cookies (at least for Sentry's domain).
Reload the page you're trying to submit (don't re-submit data).
Re-enter the information, and submit the form again.
Read more about CSRF on Wikipedia.
```
請(qǐng)問有什么辦法嗎
基于Sentry搭建一個(gè)前端異常監(jiān)控系統(tǒng)背景 雖然在我們的項(xiàng)目上線前會(huì)有很多的測試流程,但是測試流程肯定無法保證 100%覆蓋所有操作場景辜窑,在用戶的使用過程中仍會(huì)有一些問題暴露出來钩述。但當(dāng)線上用戶出現(xiàn)問題,我們需要收...
準(zhǔn)備相關(guān)軟件 jenkins:中文網(wǎng)[https://www.jenkins.io/zh/download/] 英文網(wǎng)[https://www.jenkins.io/dow...
到這里下載jenkins.war 在jenkins中Manage Jenkins->System Information->executable-war得到地址為 把下載的文...
案例一父組件parent.vue 子組件child.vue 上面按照這里的解析,子組件的html中的{{childData}}的值會(huì)隨著父組件的值而改變色徘,但是created里...