diff --git a/docs/server.html b/docs/server.html index 8823c2e76f..be20d9b7b7 100644 --- a/docs/server.html +++ b/docs/server.html @@ -1174,7 +1174,7 @@ disconnect: off [WEB] # Set path to generate static mini-site for server information and qr codes/links -static_path: <WRITABLE_PATH_TO_STORE_WEBSITE> +static_path: /var/opt/simplex/www # Run an embedded server on this port # Onion sites can use any port and register it in the hidden service config. @@ -1415,16 +1415,11 @@ own_server_domains: <your domain suffixes if using `log_stats: on`>
SMP-server versions starting from v5.8.0 can be configured to serve Web page with server information that can include admin info, server info, provider info, etc. Run the following commands as root user.
Create folder to store webserver static files and assign correct permissions:
-mkdir -p /var/www/smp-server-web && chown smp:smp /var/www/smp-server-web
-
-Add the following to your smp-server configuration (please modify fields in [INFORMATION] section to include relevant information):
vim /etc/opt/simplex/smp-server.ini
[WEB]
-static_path: /var/www/smp-server-web
+static_path: /var/opt/simplex/www
[INFORMATION]
# AGPLv3 license requires that you make any source code modifications
@@ -1496,7 +1491,7 @@ hosting_country: <HOSTING_PROVIDER_LOCATION>
vim /etc/caddy/Caddyfile
<YOUR_DOMAIN> {
- root * /var/www/simplex
+ root * /var/opt/simplex/www
file_server
}