SafeLine is a self-hosted WAF that filters and monitors HTTP traffic between a web application and the Internet, acting as a reverse proxy so clients pass through it before reaching the origin server (Source: https://docs.waf.chaitin.com/en/home ). You operate it through a web console that is served over HTTPS at the default address https://:9443/ (Source: https://docs.waf.chaitin.com/en/GetStarted/Deploy ). If port 9443 is already occupied or you want a different public entry point, two configuration choices stand out: change the console listening port directly with MGT_PORT, or leave the default port alone and place a proxy layer in front of it.
Change the port directly with MGT_PORT
The manual deployment guide writes configuration into a .env file inside the SafeLine directory. Its variable list identifies MGT_PORT as "Web console port to be used", and the sample .env begins with MGT_PORT=9443 (Source: https://docs.waf.chaitin.com/en/GetStarted/Deploy ).…