{"id":1303,"date":"2021-01-10T17:29:31","date_gmt":"2021-01-10T17:29:31","guid":{"rendered":"\/blog\/?p=1303"},"modified":"2021-01-10T17:29:31","modified_gmt":"2021-01-10T17:29:31","slug":"webmin-apache2-reverse-proxy","status":"publish","type":"post","link":"\/blog\/index.php\/webmin-apache2-reverse-proxy\/","title":{"rendered":"Webmin apache2 reverse proxy"},"content":{"rendered":"\n<ol class=\"wp-block-list\"><li>Make sure&nbsp;mod_proxy&nbsp;is installed on your Apache webserver.<\/li><li>Add the following directives to the Apache configuration file:<br>ProxyPass \/webmin\/ http:\/\/localhost:10000\/<br>ProxyPassReverse \/webmin\/ http:\/\/localhost:10000\/<br>SSLProxyEngine on<br>&lt;Proxy *&gt;<br>allow from all<br>&lt;\/Proxy&gt;<\/li><li>Add the lines&nbsp;webprefix=\/webmin&nbsp;and&nbsp;webprefixnoredir=1&nbsp;to&nbsp;\/etc\/webmin\/config.<\/li><li>Add the line&nbsp;cookiepath=\/webmin&nbsp;to&nbsp;\/etc\/webmin\/miniserv.conf.<\/li><li>In&nbsp;\/etc\/webmin\/config, add the line&nbsp;referer=<em>apachehost<\/em>, where&nbsp;<em>apachehost<\/em>&nbsp;is the hostname from the URL used to access Webmin via Apache. If the&nbsp;referer&nbsp;line already has some hosts listed, add&nbsp;<em>apachehost<\/em>&nbsp;to it.<\/li><li>Re-start Webmin by running&nbsp;\/etc\/webmin\/restart<\/li><li>Re-start Apache to apply the configuration<\/li><\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Make sure&nbsp;mod_proxy&nbsp;is installed on your Apache webserver. Add the following directives to the Apache configuration file:ProxyPass \/webmin\/ http:\/\/localhost:10000\/ProxyPassReverse \/webmin\/ http:\/\/localhost:10000\/SSLProxyEngine on&lt;Proxy *&gt;allow from all&lt;\/Proxy&gt; Add the lines&nbsp;webprefix=\/webmin&nbsp;and&nbsp;webprefixnoredir=1&nbsp;to&nbsp;\/etc\/webmin\/config. Add the line&nbsp;cookiepath=\/webmin&nbsp;to&nbsp;\/etc\/webmin\/miniserv.conf. In&nbsp;\/etc\/webmin\/config, add the line&nbsp;referer=apachehost, where&nbsp;apachehost&nbsp;is the hostname from the URL used to access Webmin via Apache. If the&nbsp;referer&nbsp;line already has some hosts listed, add&nbsp;apachehost&nbsp;to it. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1303","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1303","targetHints":{"allow":["GET"]}}],"collection":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/comments?post=1303"}],"version-history":[{"count":1,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1303\/revisions"}],"predecessor-version":[{"id":1304,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/posts\/1303\/revisions\/1304"}],"wp:attachment":[{"href":"\/blog\/index.php\/wp-json\/wp\/v2\/media?parent=1303"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/categories?post=1303"},{"taxonomy":"post_tag","embeddable":true,"href":"\/blog\/index.php\/wp-json\/wp\/v2\/tags?post=1303"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}