From 1bb75299ff9f690d60a8cc339d0eec239f5391f2 Mon Sep 17 00:00:00 2001 From: Rsl1122 Date: Thu, 25 Oct 2018 10:16:51 +0300 Subject: [PATCH] [Smell] Rename Nginx -> Proxy in HTTPS Override Thanks to Miclebrick for the observation. --- .../java/com/djrapitops/plan/system/webserver/WebServer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Plan/src/main/java/com/djrapitops/plan/system/webserver/WebServer.java b/Plan/src/main/java/com/djrapitops/plan/system/webserver/WebServer.java index a6b4f1ccf..276ef3bfd 100644 --- a/Plan/src/main/java/com/djrapitops/plan/system/webserver/WebServer.java +++ b/Plan/src/main/java/com/djrapitops/plan/system/webserver/WebServer.java @@ -118,7 +118,7 @@ public class WebServer implements SubSystem { logger.log(L.INFO_COLOR, "§e" + locale.getString(PluginLang.WEB_SERVER_NOTIFY_HTTP_USER_AUTH)); server = HttpServer.create(new InetSocketAddress(config.getString(Settings.WEBSERVER_IP), port), 10); } else if (server == null) { - logger.log(L.INFO_COLOR, "§eWebServer: Nginx HTTPS Override enabled. HTTP Server in use, make sure that your Nginx is routing with HTTPS and AlternativeIP.Link points to Nginx"); + logger.log(L.INFO_COLOR, "§eWebServer: Proxy HTTPS Override enabled. HTTP Server in use, make sure that your Proxy webserver is routing with HTTPS and AlternativeIP.Link points to the Proxy"); server = HttpServer.create(new InetSocketAddress(config.getString(Settings.WEBSERVER_IP), port), 10); } server.createContext("/", requestHandler); @@ -142,7 +142,7 @@ public class WebServer implements SubSystem { private boolean startHttpsServer() { String keyStorePath = config.getString(Settings.WEBSERVER_CERTIFICATE_PATH); - if (keyStorePath.equalsIgnoreCase("nginx")) { + if (keyStorePath.equalsIgnoreCase("proxy")) { return true; }