diff options
author | Simon Rettberg | 2024-10-14 14:28:48 +0200 |
---|---|---|
committer | Simon Rettberg | 2024-10-14 14:28:48 +0200 |
commit | fd0e0a8a89e730919ba154b2af2228fb235ec19d (patch) | |
tree | 5ff8b3d19370a4217d06d93caa4ab3448edd7f06 | |
parent | Archive: Support .tar.lz4 for output (diff) | |
download | tmlite-bwlp-fd0e0a8a89e730919ba154b2af2228fb235ec19d.tar.gz tmlite-bwlp-fd0e0a8a89e730919ba154b2af2228fb235ec19d.tar.xz tmlite-bwlp-fd0e0a8a89e730919ba154b2af2228fb235ec19d.zip |
This doesn't make much sense on first glipmse, but since we always run
https with a self-signed certficate, it actually does. :)
-rw-r--r-- | src/main/java/org/openslx/taskmanager/tasks/LighttpdHttps.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/org/openslx/taskmanager/tasks/LighttpdHttps.java b/src/main/java/org/openslx/taskmanager/tasks/LighttpdHttps.java index 20ef463..9e5476c 100644 --- a/src/main/java/org/openslx/taskmanager/tasks/LighttpdHttps.java +++ b/src/main/java/org/openslx/taskmanager/tasks/LighttpdHttps.java @@ -293,6 +293,9 @@ public class LighttpdHttps extends AbstractTask private boolean disableHttps() { List<String> cmd = new ArrayList<>( BASE_CMD ); + if ( this.redirect ) { + cmd.add( "--redirect" ); + } cmd.add( "--disable" ); int ret = Exec.sync( 10, cmd.toArray( new String[ cmd.size() ] ) ); if ( ret != 0 ) { |