diff --git a/panel/1.0/webserver_configuration.md b/panel/1.0/webserver_configuration.md index 03a23980e..b67a75c13 100644 --- a/panel/1.0/webserver_configuration.md +++ b/panel/1.0/webserver_configuration.md @@ -16,6 +16,14 @@ First, remove the default NGINX configuration. rm /etc/nginx/sites-enabled/default ``` +::: tip +If you using Ubuntu systems you may also need to add the `nginx` user to the `www-data` group to ensure proper file permissions: + +``` bash +sudo usermod -aG www-data nginx +``` +::: + Now, you should paste the contents of the file below, replacing `` with your domain name being used in a file called `pterodactyl.conf` and place the file in `/etc/nginx/sites-available/`, or — if on RHEL, Rocky Linux, or AlmaLinux, `/etc/nginx/conf.d/`. @@ -41,6 +49,14 @@ First, remove the default NGINX configuration. rm /etc/nginx/sites-enabled/default ``` +::: tip +If you using Ubuntu systems you may also need to add the `nginx` user to the `www-data` group to ensure proper file permissions: + +``` bash +sudo usermod -aG www-data nginx +``` +::: + Now, you should paste the contents of the file below, replacing `` with your domain name being used in a file called `pterodactyl.conf` and place the file in `/etc/nginx/sites-available/`, or — if on RHEL, Rocky Linux, or AlmaLinux, `/etc/nginx/conf.d/`.