下面文章小编就为大家带来一篇讲解ESXi Rhttpproxy config.xml,ESXi网页管理配置修改端口,rhttpproxy config内容。小编觉得挺不错的,现在就分享给大家,如果你在找ESXi修改443端口,ESXi修改80端口,Rhttpproxy修改端口,也可以做个学习。一起跟随小编过来看看吧。
ESXi Rhttpproxy config.xml,ESXi网页管理配置修改端口,rhttpproxy config内容
作者:小程序爱好者 发布时间:2021-07-13
ESXi使用Rhttpproxy来进行网页管理,
其中有一个文件config.xml,
里面保存了 rhttpproxy 的配置内容,
如果你要修改esxi网页的80,443端口,
可以在 config.xml 中找到。
ESXi Rhttpproxy config.xml内容如下
<!-- RhttpProxy configuration file for ESX/ESXi -->
<config>
<!-- the version of this config file -->
<version>5.5.0.0</version>
<!-- working directory -->
<workingDir>/var/log/vmware/</workingDir>
<!-- location to examine for configuration files that are needed -->
<defaultConfigPath> /etc/vmware/ </defaultConfigPath>
<log>
<!-- controls where rolling log files are stored -->
<directory>/var/log/vmware/</directory>
<!-- name of log file -->
<name>rhttpproxy</name>
<!-- controls whether logger sends its output to console also -->
<outputToConsole>false</outputToConsole>
<!-- If true, log to files on disk -->
<outputToFiles>false</outputToFiles>
<!-- default size(in bytes) of each log file before rolling over to next -->
<maxFileSize>524288</maxFileSize>
<!-- default number of log files to rotate amongst -->
<maxFileNum>8</maxFileNum>
<!-- default log level -->
<level>verbose</level>
<!-- If true, logs to syslog -->
<outputToSyslog>true</outputToSyslog>
<!-- syslog configuration. Only used if outputToSyslog is true. -->
<syslog>
<!-- syslog identifier to use when logging -->
<ident>Rhttpproxy</ident>
<!-- syslog facility to use when logging -->
<facility>local4</facility>
<!-- The section header contents are placed in this file at startup.
When vmsyslogd rotates the hostd log file, it logs the content of this
file to syslog. This is being done so that we don't lose context on log
rotations.
IMPORTANT: Value needs to match that in onrotate entry in
vmsyslog.d/hostd.conf
-->
<logHeaderFile>/var/run/vmware/rhttpproxyLogHeader.txt</logHeaderFile>
</syslog>
</log>
<proxy>
<!-- default location of the proxy config file -->
<endpoints>/etc/vmware/rhttpproxy/endpoints.conf</endpoints>
<!-- HTTP port to be used by the reverse proxy -->
<httpPort>80</httpPort>
<!-- HTTPS port to be used by the reverse proxy -->
<httpsPort>443</httpsPort>
</proxy>
<!-- Remove the following node to disable SSL -->
<ssl>
<!-- The server private key file -->
<privateKey>/etc/vmware/ssl/rui.key</privateKey>
<!-- The server side certificate file -->
<certificate>/etc/vmware/ssl/rui.crt</certificate>
<!-- Client-side CAFile verify location -->
<keyStoreFile>/etc/vmware/ssl/castore.pem</keyStoreFile>
</ssl>
<vmacore>
<pluginBaseDir>/lib/</pluginBaseDir>
<!-- default thread pool configuration for Posix impl -->
<threadPool>
<IoMin>2</IoMin>
<IoMax>44</IoMax>
<TaskMin>2</TaskMin>
<TaskMax>18</TaskMax>
<!-- Do not set MaxFdsPerThread if hostdMinFds is set above -->
<!-- MaxFdsPerThread> 2048 </MaxFdsPerThread -->
<NumKeepAlive>8</NumKeepAlive>
<ThreadCheckTimeSecs>600</ThreadCheckTimeSecs>
<ThreadStackSizeKb>256</ThreadStackSizeKb>
<threadNamePrefix>rhttpproxy</threadNamePrefix>
</threadPool>
<rootPasswdExpiration>false</rootPasswdExpiration>
<ssl>
<doVersionCheck> false </doVersionCheck>
<useCompression>true</useCompression>
<libraryPath>/lib/</libraryPath>
</ssl>
<!-- enable plugin loading -->
<loadPlugins> false </loadPlugins>
<!-- enable/disable the dynamic loading of plugins -->
<loadDynamicPlugins> false </loadDynamicPlugins>
<!-- Enable/disable the stack tracer -->
<!-- <useStackTracer>false</useStackTracer> -->
<xml>
<doc>
<!-- maximum size of each XML message. -->
<maxChars>62914560</maxChars>
<!-- maximum nodes in of each XML message. -->
<maxNodes>524288</maxNodes>
<!-- maximum node depth of each XML message. -->
<maxDepth>1000</maxDepth>
</doc>
</xml>
<http>
<!-- Num of max proxy connections -->
<!-- PR 604415: Temporary lower the connections limit to 128 -->
<maxConnections> 128 </maxConnections>
</http>
</vmacore>
</config>
猛击这里,
观看子恒老师《微信小程序支付开发》系列视频
了解实现过程和下载相关源代码
声明:部分文章或图片未能及时与原作者取得联系,若来源标注错误或侵犯到您的权益烦请告知QQ:2334512685,我们会及时删除。
发布:秦子恒博客,欢迎转载分享,请保留出处。
ESXi Rhttpproxy config.xml,ESXi网页管理配置修改端口,rhttpproxy config内容链接:https://www.qinziheng.com/details/9828/
ESXi Rhttpproxy config.xml,ESXi网页管理配置修改端口,rhttpproxy config内容相关文章