Docker & Container Runtimes, News & Announcements

Converting Apache Rewrite Rules to Nginx Rewrite Rules

Last week we published a blog about Creating NGINX Rewrite Rules.

In this complementary blog, we’ll discuss how to convert Apache HTTP server rewrite rules to NGINX Plus syntax (the conversions are the same for the open source NGINX software).

You need to convert to NGINX rewrite rules when you place NGINX Plus in front of your Apache servers to take over as the reverse proxy or load balancer, or when you replace Apache servers with NGINX Plus servers. Keep in mind that NGINX and NGINX Plus do not support per-directory configuration files (Apache’s .htaccess files), so you need to convert them in particular.

Related Post:  What is Kubernetes? An intro for beginners

We’ll assume you’re familiar with Apache rewrite rules and with how NGINX Plus processes URLs. For a review of the return, rewrite, and try_files directives in NGINX Plus and NGINX, see Creating NGINX Rewrite Rules.

Related Post:  The ultimate guide to container orchestrators

Converting a Rule that Adds the www Prefix Continue reading.

Nginx logo

Subscribe to

Subscribe to receive the latest articles in your Inbox

Trust me, you'll not be spammed...

Please share:

We Recommend These Vendors and Free Offers

Register now for Blockchain & Cryptocurrency Con 2018, international conference on blockchain technnology in Dallas, TX (USA), Feb. 23-24, 2018. A 50% discount for students.

Best WhatsApp Plus features in Gbwhatsapp latest APK download

Best binary auto trading software reviews by

Google has got competition, because Presearch is building a blockchain-based search engine controlled by the community. At $0.15 a token, you can participation in Lot 3 of the token sale by clicking here

Open Money is building a solution that will run mainstream software on blockchain tech. Click here to get free tokens that will be the digital currency of the platform

Launch an SSD VPS in Europe, USA, Asia & Australia on Vultr's KVM-based Cloud platform starting at $5:00/month (15 GB SSD, 768 MB of RAM).

Leave a Comment

Your email address will not be published. Required fields are marked *