Added proxy template for support proxy request from nginx to another service
This commit is contained in:
@@ -347,6 +347,19 @@
|
||||
?>
|
||||
</select>
|
||||
</div>
|
||||
<div class="u-mb10 js-proxy-connect" style="<?php
|
||||
if ($v_proxy_template != "srvproxy") {
|
||||
echo "display:none;";
|
||||
} else {
|
||||
echo "display:block;";
|
||||
} ?>">
|
||||
<div>
|
||||
<label for="v_proxy_port" class="form-lable">
|
||||
<?= _("Set port for internal service") ?>
|
||||
</label>
|
||||
<input type="input" name="v_proxy_port" id="v_proxy_port" value="<?= htmlentities($v_proxy_port) ?>">
|
||||
</div>
|
||||
</div>
|
||||
<div class="u-mb10">
|
||||
<label for="v_proxy_ext" class="form-label"><?= _("Proxy Extensions") ?></label>
|
||||
<textarea class="form-control" name="v_proxy_ext" id="v_proxy_ext"><?php if (!empty($v_proxy_ext)) { echo htmlentities(trim($v_proxy_ext, "'"));} else { echo 'jpg, jpeg, gif, png, ico, svg, css, zip, tgz, gz, rar, bz2, exe, pdf, doc, xls, ppt, txt, odt, ods, odp, odf, tar, bmp, rtf, js, mp3, avi, mpeg, flv, html, htm'; } ?></textarea>
|
||||
|
||||
Reference in New Issue
Block a user