Project

General

Profile

Feature #2964

How does redirect exclude the specified path?

Added by lighttpd 2 months ago. Updated 2 months ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2019-07-02
Due date:
% Done:

0%

Estimated time:
Missing in 1.5.x:

Description

hello everyone

my conf:


$HTTP["host"] =~ "(^|www\.)xxx.com" {
server.document-root = "/var/www/xxx/public"
accesslog.filename = "/var/www/xxx/logs/access.log"
}

$HTTP["scheme"] == "http" {
$HTTP["host"] =~ ".*" {
url.redirect += ( ".*" => "https://%0$0" )
}
}

alias.url += ("/.well-known/acme-challenge/" => "/tmp/")


I tried url.redirect = ( "^/do-not-redirect/this/path" => "" ), and I can't prevent redirect to https.

https://serverfault.com/questions/907101/lighttpd-proxy-all-except-well-known-for-letsencrypt and it didn't seem to solve my problem.

I just want to not redirect it to https when the certbot is renewed.

History

#1

Updated by stbuehler 2 months ago

  • Status changed from New to Invalid
  • Target version deleted (1.4.x)

The issue tracker is not the place to ask support questions, use the forum instead.

Also I'm gonna delete your account (you should be able to register a new one with the same email after that) - the username 'lighttpd' should not have been available.

Also available in: Atom