is there a way to configure Nginx to read from a line-by-line file to determine when HTTPS should be enforced rather than putting all the URLS in a conditional check? Or is there a way to combine the two? Two areas of concern are organization and the ability long term to manage those urls. We are thinking of moving this to the application layer but Nginx seems faster in evaluating this. Currently we are just using a regular expression.
1 Answers