Sigma-Production / ptero-eggs

Nginx egg Host your Website on pterodactyl panel
Other
73 stars 92 forks source link

Feature Request: Specify webroot in a variable #25

Open PolarizedIons opened 1 year ago

PolarizedIons commented 1 year ago

I want to serve data generated by another server, using the mounts system of pterodactyl, but mounts cannot include /home/container in the path

404invalid-user commented 1 year ago

in your file manager open /home/container/nginx/conf.d/default.conf then find where it says

root /home/container/webroot;

then change /home/container/webroot to your mount path and save the file, restart your server

finnie2006 commented 1 year ago

Yes that is the way to do it indeed