question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

add feature flag to redirect nginx traffic to static directory

See original GitHub issue

discuss several strategies to redirect users with static_frontend feature flag to static directory, and decide one to be deployed to production

/cc @CartoDB/systems

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
elenatorrocommented, Jan 10, 2018

You are right @juanignaciosl, we should remove this, as it is said in this comment: https://github.com/CartoDB/cartodb-platform/issues/3798#issuecomment-356237847

Nginx does not know anything about feature flags or something similar from the application. So, at the moment we deploy the static pages and the changes in nginx everyone will be, first trying to use the static pages and fallback to rails if it’s not found. The feature flag in production/staging won’t have any effect anymore.

0reactions
juanignacioslcommented, Jan 10, 2018

@elenatorro should this be kept in Charlie’s triage?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Redirect URLs Using Nginx - Liquid Web
Check out our Nginx tutorials for redirecting a site to HTTPS, www, non-www, another page or a completely different URL.
Read more >
Serving Static Content | NGINX Plus
Configure NGINX and NGINX Plus to serve static content, with type-specific root directories, checks for file existence, and performance optimizations.
Read more >
HTTP Load Balancing | NGINX Plus
Load balance HTTP traffic across web or application server groups, with several algorithms and advanced features like slow-start and session persistence.
Read more >
NGINX App Protect WAF Configuration Guide
This guide explains the NGINX App Protect WAF security features and how to use ... If configuration returns static content, the user must...
Read more >
NGINX 3rd Party Modules
Module Description Repository Accept Language Module Accept‑Language header parser giom/nginx_acc... AFCGI Asynchronous/multiplexing FastCGI for NGINX rsms/afcgi HTTP Digest Authentication HTTP Digest Authentication atomx/nginx‑htt...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found