Hide X-Powered-By

This commit is contained in:
Tommy 2024-10-13 05:15:14 -07:00 committed by GitHub
parent 89b35004f2
commit 1678b0861d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,3 +28,6 @@ proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Ssl on; proxy_set_header X-Forwarded-Ssl on;
proxy_set_header X-Forwarded-Port $server_port; proxy_set_header X-Forwarded-Port $server_port;
# Hide X-Powered-By
proxy_hide_header X-Powered-By;