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.
Use at your own risk
It would need additional code to change the foreign IP to anything else than the first IP found on the system.
cat /usr/local/sbin/vhost_nginx_repair_ip
#!/bin/bash
HEADLESS=
tty >/dev/null || HEADLESS=true
THISSCRIPT="`readlink -f $0`"
SCRIPTNAME=${THISSCRIPT##*/}
[...
I already have experience manipulating that file and I know for a fact that one needs to do a Plesk repair web <domain> after the manipulation.
I could quite easy write a script that will check all those files and change all foreign IP's to a home one. But which home ip?
Furthermore the OP has...
A chrooted access is the way.
It can be turned on using the panel.
Alas it needs some tinkering afterwards because he will find out that he's got a very limited subset of the available programs.
One shouldn't give this access carelessly.
Someone with bad intentions can still have an advantage...
Hi Erwan,
Congratulations for finding out the answers yourself AND posting them here. Some post nothing or "never mind, I found it!".
I think (half speculating here) that secured means an SSL-connection.
An SSL-connection is a connection that starts completely secured on TCP-level no actual...
Why not use $server_addr there?
I still don't know if I understand it, but my proposal should make it clear to you if I understand it.
if ( $scheme = http )
{
proxy_pass http://$server_addr:7080
}
if ( $scheme = https )
{
proxy_pass https://$server_addr:7081
}
But why do you have those directives anyhow.
By default Plesk is already proxying https to port 7081 and http to 7080.
Not clear to me what you're actually doing..
You can use an include of a server-wide config-file which is different on each server.
When it's a multi-ip server this may get you to the next problem, but it may well do for you.
In /var/www/vhosts/system/???/conf/vhost_nginx.conf
include /var/www/vhosts/system/conf/vhost_nginx.conf;
cat...
The PHP-values of upload_max_filesize / post_max_size / max_input_time / max_execution_time & memory_limit need to be higher for a certain site than the default values.
Repeatedly I'm getting called by a customer that he's incapable of doing certain things and when I examine the PHP-values I...
I thought there was an error in it, but that wasn't true...
wget -q -O - http://www.iwik.org/ipcountry/CN.cidr | egrep '[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+/[0-9]+' | aggregate 2>/dev/null | sed 's/.*/deny &;/' > /etc/nginx/conf.d/CN.conf
head /etc/nginx/conf.d/CN.conf
deny 1.0.1.0/24;
deny...
The words alias and redirection are common English words and are not used in IT exclusively. You probably know that, but I just want to stress that fact.
If "Apache" would be using the word "alias" and then doing in fact a redirection they would be wrong.
But Apache (and Plesk) used it properly...
The most obvious route would be to use an alias.
I wouldn't call that a "redirection".
It's an "alias"... another name for the same thing.
A forwarding is a redirection.
Yes, works like a charm...
But that's merely a beginning for a lot of tweaking and adding stuff.
There are some more tutorials to be found, but none of them will bring you to what I have so far.
Alas is this not something to do often so I have not documented it enough and can't deliver a...
The last time I renewed my certificates I had some strange behavior too.
It turned out it removed the files where the certificates should have been.
I had a new certificate without a new key and used the Plesk interface to just change the active certificate.
To repair the mess that Plesk made...
Can't you change it in a way that those random folders are created within some custom folder?
In your case exclude folder1
If not, you could replace the folder in which they are placed now with a symbolic link.
Nothing from that folder will get back-upped.
I can't think of any other...
TITLE:
Plesk issues an incorrect warning that a CNAME doesn't resolve
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
Plesk 17.8 / CentOS
PROBLEM DESCRIPTION:
After adding a CNAME-record for a TXT-record and updating the DNS-settings Plesk will test the existence of an A-record for these...
reaction was on nginx refusing to restart on wrong config....
This does not apply to the situation described by Martin Sauer....
There the configuration was not applied to the actual config by Plesk, so my answer did not apply to that situation.
Still I would not like my clients to get there...
Of course you can send mail to a domain for which Plesk is only hosting a website. It will only disregard the MX-record if the mail service is turned on for that domain on Plesk.
The problem for sure is one of Gmail's many anti spamming features.There are so many reasons they wouldn't like your...
AFAIK there is, by default, no outgoing block....
On the other hand... I manually manage my firewall.
Even if you have some tool or gui to manage your firewall one should really try to understand how iptables works.
If you knew you would have had no need to ask this question.