{"id":1945,"date":"2019-09-24T10:47:32","date_gmt":"2019-09-24T16:47:32","guid":{"rendered":"https:\/\/ugit.siua.ac.cr\/?p=1945"},"modified":"2019-09-24T10:57:12","modified_gmt":"2019-09-24T16:57:12","slug":"proxmox-6-instalar-apache2-para-redireccion","status":"publish","type":"post","link":"https:\/\/sada.services\/?p=1945","title":{"rendered":"Proxmox 6: Instalar apache2 para redirecci\u00f3n"},"content":{"rendered":"\n<ul class=\"wp-block-list\"><li>Actualizamos el sistema<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>apt-get update &amp;&amp; apt-get upgrade -y &amp;&amp; apt-get dist-upgrade -y<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>Instalamos apache<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>apt install apache2 -y<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>Vamos a modificar que el site default rediriga todas las solicitudes a https:\/\/XXX.siua.ac.cr:8006<\/li><li>Luego abrimos  el archivo del site default:<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>nano \/etc\/apache2\/sites-available\/000-default.conf<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>Vamos a modificar la linea del webmaster solo como informativo<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>ServerAdmin webmaster@localhost\nX\nServerAdmin interuniversitariadealajuela@gmail.com<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>Luego agregamos la siguiente linea donde se debe modificar por el FQDN de cada servidor<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>Redirect \/ https:\/\/metis.siua.ac.cr:8006<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\"><li>Y listo con esto ya podemos poner \u00abmetis.siua.ac.cr\u00bb en el navegador y nos redirige a https:\/\/metis.siua.ac.cr:8006<\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li>Reiniciamos apache<\/li><\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>service apache2 reload<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>Proxmox: como redirigir con apache de 80->8006<\/p>\n","protected":false},"author":2,"featured_media":1453,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[110,146,147],"class_list":["post-1945","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-proxmox","tag-apache","tag-proxmox-6","tag-redirect"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"_links":{"self":[{"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/posts\/1945","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sada.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1945"}],"version-history":[{"count":2,"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/posts\/1945\/revisions"}],"predecessor-version":[{"id":1950,"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/posts\/1945\/revisions\/1950"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/media\/1453"}],"wp:attachment":[{"href":"https:\/\/sada.services\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1945"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sada.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1945"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sada.services\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1945"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}