{"id":1622,"date":"2022-01-15T12:30:00","date_gmt":"2022-01-15T18:30:00","guid":{"rendered":"https:\/\/linuxhostsupport.com\/blog\/?p=1622"},"modified":"2021-12-30T02:18:34","modified_gmt":"2021-12-30T08:18:34","slug":"how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian-11","status":"publish","type":"post","link":"https:\/\/linuxhostsupport.com\/blog\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian-11\/","title":{"rendered":"How to Set Up Nginx as a Reverse Proxy For Apache on Debian 11"},"content":{"rendered":"\n<div id=\"linux-775376374\" class=\"linux-before-1st-paragraph linux-entity-placement\" style=\"margin-top: 15px;margin-bottom: 15px;\"><a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting\/?mtm_campaign=blogs&#038;mtm_source=lhs&#038;mtm_medium=blog&#038;mtm_content=managed-vps&#038;mtm_cid=1339&#038;mtm_placement=inline\" aria-label=\"Untitled\"><img src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322.jpg\" alt=\"\"  srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322.jpg 728w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340090_NVMeGoogleAds_728x90_041322-300x37.jpg 300w\" sizes=\"(max-width: 728px) 100vw, 728px\" width=\"728\" height=\"90\"  style=\"display: inline-block;\" \/><\/a><\/div><p>Nginx and Apache are both free, open-source, and considered some of the most popular web servers around the world.<br>If we combine both servers, then we will get a better result for our services. Nginx is generally faster than Apache and Apache is well-known for its powerful features.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignright size-full is-resized\"><img decoding=\"async\" src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/12\/setting-up-nginx-as-a-reverse-proxy-for-apache-on-debian-11.png\" alt=\"setting up nginx as a reverse proxy for apache on debian 11\" class=\"wp-image-1623\" width=\"117\" height=\"135\"\/><\/figure><\/div>\n\n\n\n<p>In today&#8217;s tutorial, you will learn how to set up Nginx as a reverse proxy for Apache, using Debian 11 OS. Make sure to follow the official documentation, if any issues arise in the meantime.<\/p>\n\n\n\n<!--more-->\n\n\n\n<h1 class=\"wp-block-heading\" id=\"h-prerequisites\">Prerequisites<\/h1>\n\n\n\n<ul class=\"wp-block-list\"><li>Server running Debian 11<\/li><li>Root access to the server<\/li><\/ul>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"h-updating-system-and-installing-dependencies\">Updating system and installing dependencies<\/h1>\n\n\n\n<p>Before starting, it\u2019s hugely important to have your system up-to-date. So, you can run the following commands on your server to update it:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code> apt-get update -y; apt-get upgrade -y <\/code><\/pre>\n\n\n\n<p>After the system is updated, you need to install the dependencies:<br><code>apt-get install gnupg2 curl -y<\/code><\/p>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"h-installing-and-configuring-apache\">Installing and configuring Apache<\/h1>\n\n\n\n<p>In this part, we\u2019ll proceed with the Apache installation and configuration to run on port 8000. First of all, you need to install it with this command:<br><code>apt-get install apache2 -y<\/code><\/p>\n\n\n\n<p>Once it\u2019s installed, you need to edit the port from 80 to 8000 on the following files:<br><code>nano \/etc\/apache2\/ports.conf<br>From: Listen 80<br>To: Listen 8000<\/code><\/p>\n\n\n\n<p><code>nano \/etc\/apache2\/sites-enabled\/000-default.conf<br>From:<\/code> <code>80<br>To:<\/code> <code>8000<\/code><\/p>\n\n\n\n<p>Now, we\u2019ll restart apache to apply the changes:<\/p>\n\n\n\n<p><code>systemctl restart apache2<\/code><\/p>\n\n\n\n<p>And once it\u2019s restarted, you should see the default page on the following link:<br><code>http:\/\/your-ip:8000<\/code><\/p>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"h-installing-and-configuring-nginx\">Installing and configuring Nginx.<\/h1>\n\n\n\n<p>Now, since we already have our Apache up and running on port 8000, we need to set up our Nginx as the reverse proxy to run on port 80 and proxy the traffic to port 8000. First of all, let\u2019s install Nginx with:<br><code>apt-get install nginx -y<\/code><\/p>\n\n\n\n<p>Then, once the installation is done, we need to empty the default vhost, so you can run this command:<br><code>echo \"\" &gt; \/etc\/nginx\/sites-enabled\/default<\/code><\/p>\n\n\n\n<p>After that, just open it and paste this content to redirect the accesses from port 80 (Nginx)<br>to 8000 (Apache2):<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>server {\n    listen 80 default_server;\n    index index.php index.html index.htm;\n    location \/ {\n        proxy_pass http:\/\/localhost:8000;\n        proxy_set_header Host $http_host;\n        proxy_set_header X-Real-IP $remote_addr;\n        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;\n        proxy_set_header X-Forwarded-Proto $scheme;\n    }\n}<\/code><\/pre>\n\n\n\n<p>Then just save the file and check the Nginx for any syntax error with this command:<br><code>nginx -t<\/code><\/p>\n\n\n\n<p>Next, just reload the Nginx service to apply our changes:<br><code>systemctl restart nginx<\/code><\/p>\n\n\n\n<p>Now, once you access your IP address, you\u2019ll be accessing your Nginx and being proxied to the Apache2 service.<\/p>\n\n\n\n<p>And that\u2019s it. You have successfully installed Nginx as a Reverse Proxy for Apache on Debian 11. Of course, if you have any <strong><a href=\"https:\/\/www.rosehosting.com\/linux-vps-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\">Linux VPS hosting<\/a><\/strong> with us, you don\u2019t need to do this installation. Our admins are available 24\/7\/365 to help you with those steps.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignleft size-large is-resized\"><img decoding=\"async\" src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/12\/installing-nginx-as-a-reverse-proxy-for-apache-on-debian-11-1024x678.jpg\" alt=\"installing nginx as a reverse proxy for apache on debian 11\" class=\"wp-image-1625\" width=\"214\" height=\"142\" srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/12\/installing-nginx-as-a-reverse-proxy-for-apache-on-debian-11-1024x678.jpg 1024w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/12\/installing-nginx-as-a-reverse-proxy-for-apache-on-debian-11-300x199.jpg 300w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/12\/installing-nginx-as-a-reverse-proxy-for-apache-on-debian-11-768x508.jpg 768w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/12\/installing-nginx-as-a-reverse-proxy-for-apache-on-debian-11.jpg 1200w\" sizes=\"(max-width: 214px) 100vw, 214px\" \/><\/figure><\/div>\n\n\n\n<p>You will gain all the free benefits of fully managed hosting, including premium customer support, free and unlimited site migration, 99.99% uptime guaranteed, and many other features for your increased satisfaction.<\/p><div id=\"linux-625958332\" class=\"linux-after-8th-paragraph linux-entity-placement\" style=\"margin-top: 15px;margin-bottom: 15px;\"><a href=\"https:\/\/www.rosehosting.com\/managed-vps-hosting\/?mtm_campaign=blogs&#038;mtm_source=lhs&#038;mtm_medium=blog&#038;mtm_content=managed-vps&#038;mtm_cid=1340&#038;mtm_placement=inline\" aria-label=\"Untitled\"><img src=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622.jpg\" alt=\"\"  srcset=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622.jpg 728w, https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2020\/12\/1340095_VPSGoogleAds_728x90_042622-300x37.jpg 300w\" sizes=\"(max-width: 728px) 100vw, 728px\" width=\"728\" height=\"90\"  style=\"display: inline-block;\" \/><\/a><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Nginx and Apache are both free, open-source, and considered some of the most popular web servers around the world.If we combine both servers, then we will get a better result for our services. Nginx is generally faster than Apache and Apache is well-known for its powerful features. In today&#8217;s tutorial, you will learn how to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1636,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[201,2],"tags":[67,211,212,22,74],"class_list":["post-1622","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-debian","category-tutorials","tag-apache","tag-debian-11","tag-how-to-set-up","tag-nginx","tag-reverse-proxy"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Set Up Nginx as a Reverse Proxy for Apache on Debian 11<\/title>\n<meta name=\"description\" content=\"In the following tutorial, you will learn how to set up Nginx as a reverse proxy for Apache on Debian 11.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/linuxhostsupport.com\/blog\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian-11\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Set Up Nginx as a Reverse Proxy for Apache on Debian 11\" \/>\n<meta property=\"og:description\" content=\"In the following tutorial, you will learn how to set up Nginx as a reverse proxy for Apache on Debian 11.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/linuxhostsupport.com\/blog\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian-11\/\" \/>\n<meta property=\"og:site_name\" content=\"LinuxHostSupport\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/linuxhostsupport\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-15T18:30:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/12\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"742\" \/>\n\t<meta property=\"og:image:height\" content=\"372\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How to Set Up Nginx as a Reverse Proxy for Apache on Debian 11\" \/>\n<meta name=\"twitter:description\" content=\"In the following tutorial, you will learn how to set up Nginx as a reverse proxy for Apache on Debian 11.\" \/>\n<meta name=\"twitter:creator\" content=\"@lnxhostsupport\" \/>\n<meta name=\"twitter:site\" content=\"@lnxhostsupport\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian-11\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian-11\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/53a9571ea078cdf350137a1e97423cfb\"},\"headline\":\"How to Set Up Nginx as a Reverse Proxy For Apache on Debian 11\",\"datePublished\":\"2022-01-15T18:30:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian-11\\\/\"},\"wordCount\":420,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian-11\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian.jpg\",\"keywords\":[\"apache\",\"debian 11\",\"how to set up\",\"nginx\",\"reverse proxy\"],\"articleSection\":[\"Debian\",\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian-11\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian-11\\\/\",\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian-11\\\/\",\"name\":\"How to Set Up Nginx as a Reverse Proxy for Apache on Debian 11\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian-11\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian-11\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian.jpg\",\"datePublished\":\"2022-01-15T18:30:00+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/53a9571ea078cdf350137a1e97423cfb\"},\"description\":\"In the following tutorial, you will learn how to set up Nginx as a reverse proxy for Apache on Debian 11.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian-11\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian-11\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian-11\\\/#primaryimage\",\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian.jpg\",\"contentUrl\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian.jpg\",\"width\":742,\"height\":372,\"caption\":\"how to set up nginx as a reverse proxy for apache on debian\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian-11\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Set Up Nginx as a Reverse Proxy For Apache on Debian 11\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/\",\"name\":\"LinuxHostSupport\",\"description\":\"Linux Tutorials and Guides\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/53a9571ea078cdf350137a1e97423cfb\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g\",\"caption\":\"admin\"},\"url\":\"https:\\\/\\\/linuxhostsupport.com\\\/blog\\\/author\\\/r0s3admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Set Up Nginx as a Reverse Proxy for Apache on Debian 11","description":"In the following tutorial, you will learn how to set up Nginx as a reverse proxy for Apache on Debian 11.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/linuxhostsupport.com\/blog\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian-11\/","og_locale":"en_US","og_type":"article","og_title":"How to Set Up Nginx as a Reverse Proxy for Apache on Debian 11","og_description":"In the following tutorial, you will learn how to set up Nginx as a reverse proxy for Apache on Debian 11.","og_url":"https:\/\/linuxhostsupport.com\/blog\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian-11\/","og_site_name":"LinuxHostSupport","article_publisher":"https:\/\/www.facebook.com\/linuxhostsupport","article_published_time":"2022-01-15T18:30:00+00:00","og_image":[{"width":742,"height":372,"url":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/12\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian.jpg","type":"image\/jpeg"}],"author":"admin","twitter_card":"summary_large_image","twitter_title":"How to Set Up Nginx as a Reverse Proxy for Apache on Debian 11","twitter_description":"In the following tutorial, you will learn how to set up Nginx as a reverse proxy for Apache on Debian 11.","twitter_creator":"@lnxhostsupport","twitter_site":"@lnxhostsupport","twitter_misc":{"Written by":"admin","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian-11\/#article","isPartOf":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian-11\/"},"author":{"name":"admin","@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb"},"headline":"How to Set Up Nginx as a Reverse Proxy For Apache on Debian 11","datePublished":"2022-01-15T18:30:00+00:00","mainEntityOfPage":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian-11\/"},"wordCount":420,"commentCount":0,"image":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian-11\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/12\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian.jpg","keywords":["apache","debian 11","how to set up","nginx","reverse proxy"],"articleSection":["Debian","Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/linuxhostsupport.com\/blog\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian-11\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian-11\/","url":"https:\/\/linuxhostsupport.com\/blog\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian-11\/","name":"How to Set Up Nginx as a Reverse Proxy for Apache on Debian 11","isPartOf":{"@id":"https:\/\/linuxhostsupport.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian-11\/#primaryimage"},"image":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian-11\/#primaryimage"},"thumbnailUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/12\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian.jpg","datePublished":"2022-01-15T18:30:00+00:00","author":{"@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb"},"description":"In the following tutorial, you will learn how to set up Nginx as a reverse proxy for Apache on Debian 11.","breadcrumb":{"@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian-11\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/linuxhostsupport.com\/blog\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian-11\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian-11\/#primaryimage","url":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/12\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian.jpg","contentUrl":"https:\/\/linuxhostsupport.com\/blog\/wp-content\/uploads\/2021\/12\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian.jpg","width":742,"height":372,"caption":"how to set up nginx as a reverse proxy for apache on debian"},{"@type":"BreadcrumbList","@id":"https:\/\/linuxhostsupport.com\/blog\/how-to-set-up-nginx-as-a-reverse-proxy-for-apache-on-debian-11\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/linuxhostsupport.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Set Up Nginx as a Reverse Proxy For Apache on Debian 11"}]},{"@type":"WebSite","@id":"https:\/\/linuxhostsupport.com\/blog\/#website","url":"https:\/\/linuxhostsupport.com\/blog\/","name":"LinuxHostSupport","description":"Linux Tutorials and Guides","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/linuxhostsupport.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/linuxhostsupport.com\/blog\/#\/schema\/person\/53a9571ea078cdf350137a1e97423cfb","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/ed83c63a34114218f977e1f913be03906d17c7d9c800788fcac345f5edaf6cfa?s=96&d=mm&r=g","caption":"admin"},"url":"https:\/\/linuxhostsupport.com\/blog\/author\/r0s3admin\/"}]}},"_links":{"self":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/1622","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/comments?post=1622"}],"version-history":[{"count":5,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/1622\/revisions"}],"predecessor-version":[{"id":1637,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/posts\/1622\/revisions\/1637"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/media\/1636"}],"wp:attachment":[{"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/media?parent=1622"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/categories?post=1622"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linuxhostsupport.com\/blog\/wp-json\/wp\/v2\/tags?post=1622"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}