0.0.1-SNAPSHOT
王兵 5 years ago
parent ca15f75afa
commit c969bb5ab0

@ -65,6 +65,8 @@ http {
index index.html index.htm;
autoindex on;
}
<#elseif mapping.type="转HTTPS">
return 301 https://$server_name$request_uri;
</#if>
</#list>

@ -140,12 +140,17 @@
<el-form-item label="映射类型" prop="type">
<el-radio v-model="form.type" label="HTTP">HTTP</el-radio>
<el-radio v-model="form.type" label="FILE">FILE</el-radio>
<el-radio v-model="form.type" label="转HTTPS">转HTTPS</el-radio>
</el-form-item>
<el-form-item label="映射地址" prop="location">
<el-row>
<el-col :span="22">
<el-input v-model="form.location" clearable size="small"
:placeholder="form.type=='HTTP'?'代理地址http://':'文件地址D:\ or /root'"></el-input>
<el-input v-if="form.type=='HTTP'" v-model="form.location" clearable size="small"
placeholder="代理地址http://"></el-input>
<el-input v-if="form.type=='FILE'" v-model="form.location" clearable size="small"
placeholder="文件地址D:\ or /root"></el-input>
<el-input v-if="form.type=='转HTTPS'" v-model="form.location" clearable size="small"
placeholder="return 301 https://$server_name$request_uri;"></el-input>
</el-col>
<el-col :span="2" style="text-align: right">
<el-popover

Loading…
Cancel
Save

Powered by TurnKey Linux.