From 1678b0861dd3ad8a603f0d8db81e672b64f21a9e Mon Sep 17 00:00:00 2001 From: Tommy Date: Sun, 13 Oct 2024 05:15:14 -0700 Subject: [PATCH] Hide X-Powered-By --- etc/nginx/snippets/proxy.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etc/nginx/snippets/proxy.conf b/etc/nginx/snippets/proxy.conf index 3f287dc..b5b5612 100644 --- a/etc/nginx/snippets/proxy.conf +++ b/etc/nginx/snippets/proxy.conf @@ -28,3 +28,6 @@ proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Ssl on; proxy_set_header X-Forwarded-Port $server_port; + +# Hide X-Powered-By +proxy_hide_header X-Powered-By; \ No newline at end of file