Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
Thank you in advance for your patience and understanding on the matter.
Why not let Plesk reconfigure the file? You can even do it from the Plesk GUI and do not need the command line for it as the Plesk GUI runs on their own web server and a different port. Use Tools & Settings > Web Server Configurations Trouble Shooter and reconfigure all.
I could change /etc/nginx/plesk.conf.d/server.conf via ssh. But I shouldn't, indeed on top of this file is clearly stated:
Code:
#ATTENTION!
#
#DO NOT MODIFY THIS FILE BECAUSE IT WAS GENERATED AUTOMATICALLY,
#SO ALL YOUR CHANGES WILL BE LOST THE NEXT TIME THE FILE IS GENERATED.
How I can tell plesk to reconfigure nginx in order to listen to 0.0.0.0?
Maybe I should edit the virtual host template and provide some configuration files inside conf folder? Should I follow some convention for names inside conf folder I'm not able to find any documentation about that?
I am sorry I got you wrong. Obviously you want to enter your own IP. Why do you want Nginx to listen to a different IP than what is selected in your Plesk server configuration as that IP of the server?
You could always put your own .conf file into /etc/nginx/plesk.conf.d/ip_default/ because the server.conf line after the four you quoted includes all the .conf files in there. As long as your file name doesn't collide with those Plesk puts there, Plesk will leave it alone.
But I also would like to know what you want to do there. Multi-home a domain on the same server?