Would you like to learn how to install Apache and configure the Proxy feature on a computer running Ubuntu Linux? In this tutorial, we are going to configure the Apache server as a proxy to an Nginx server.
• Ubuntu 18
• Ubuntu 19
• Ubuntu 20
• Apache 2.4.41
In our example, the IP address of the Apache server is 192.168.100.9.
In our example, the IP address of the Nginx server is 192.168.100.10.
Copyright © 2018-2021 by Techexpert.tips.
All rights reserved. No part of this publication may be reproduced, distributed, or transmitted in any form or by any means without the prior written permission of the publisher.
Equipment list
The following section presents the list of equipment used to create this tutorial.
As an Amazon Associate, I earn from qualifying purchases.
Apache – Related Tutorial:
On this page, we offer quick access to a list of tutorials related to Apache.
Tutorial Apache – Enable Proxy configuration
Install the Apache server.
Enable the required Apache modules.
Edit the Apache configuration file for the default website.
Here is the file, before our configuration.
Here is the file, after our configuration.
In our example, the Apache server will work as a proxy and send all requests to the remote server.
Restart the Apache service.
Open your browser and enter the IP address of your web server.
In our example, the following URL was entered in the Browser:
• http://192.168.100.9
The Apache server will work as a proxy and display the website of the Nginx server.
Congratulations! You have finished the configuration of the Apache server as a proxy.