Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6916179
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T09:34:07+00:00 2026-05-27T09:34:07+00:00

I want to maintain a dynamic database in Redis with SEO-friendly URLs as keys

  • 0

I want to maintain a dynamic database in Redis with SEO-friendly URLs as keys and nasty querystring URLs as values. I want to call this directly from Nginx when the request comes in, get the nasty querystring URL and pass that along to Apache to serve content.

I have thought about just having a flat map file, but that would be pretty huge (200,000+ entries) and it would have to be updated often by a cron job or something… not very elegant.

My idea is something like this:

map $uri $new {
    # instead of this...
    # include /path/to/the/nginx_map.txt;
    # I want to do this...
    redis_magic_thing GET $uri;
}

I have been checking out the HttpRedis Module for Nginx but the examples are really sparse and it seems more geared towards serving up cached content. I have also checked out the Redis2 module, but that seems like overkill. I just need to do plain old GET commands.

Can I use the HttpRedis module to do this and hook right into Redis? If so, what would such a configuration look like?

Thanks in advance for your help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T09:34:08+00:00Added an answer on May 27, 2026 at 9:34 am

    You are right about HttpRedis being more geared towards caching. You would be better served using the redis2 module. The commands you need to execute are better provided by the more general case that redis2 provides

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to create and maintain a relatively simple relational database in my java
Basically I want to use a dynamic data website to maintain data in an
I want to maintain a database of all the products or the brands with
Just looking for varying opinions and reasoning on this: I want to maintain separate
I want to maintain a list of records, for each one I maintain the
We want to maintain 3 webservices for the different steps of deployment, but how
I want to maintain state in my Perl web app. How can I do
I have a page in which I want to maintain the value of object
I want my window to always maintain a certain ratio of let's say 1.33333333.
Want to do this: (EDIT: bad sample code, ignore and skip below) struct RECORD

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.