diff --git a/panel/webserver_configuration.md b/panel/webserver_configuration.md index 9d7703c5..81da2c34 100644 --- a/panel/webserver_configuration.md +++ b/panel/webserver_configuration.md @@ -16,7 +16,9 @@ This configuration assumes that you will be using SSL on both the Panel and Daem security between users and the Panel. You will need to get a valid SSL certificate which can be done for free by using Let's Encrypt. -**When using the SSL configuration you MUST create SSL certificates, otherwise your NGINX will fail to start. See [Creating SSL Certificates](/tutorials/creating_ssl_certificates.html) documentation page for how to create these certificates before continuing.** +::: warning +When using the SSL configuration you MUST create SSL certificates, otherwise your NGINX will fail to start. See [Creating SSL Certificates](/tutorials/creating_ssl_certificates.html) documentation page for how to create these certificates before continuing. +::: <<< @/.snippets/webservers/nginx.conf{5,11,26-27} @@ -45,7 +47,9 @@ Note: When using Apache, make sure you have the `libapache2-mod-php` package ins ### Apache With SSL Like the nginx configuration, this assumes you will be using SSL on both the Panel and Daemons for improved security. -**When using the SSL configuration you MUST create SSL certificates, otherwise your Apache will fail to start. See [Creating SSL Certificates](/tutorials/creating_ssl_certificates.html) documentation page for how to create these certificates before continuing.** +::: warning +When using the SSL configuration you MUST create SSL certificates, otherwise your Apache will fail to start. See [Creating SSL Certificates](/tutorials/creating_ssl_certificates.html) documentation page for how to create these certificates before continuing. +::: <<< @/.snippets/webservers/apache.conf{2,8,17-18}