Plesk 11.x / Linux :: Wrong Server Nginx Config

Dec 5, 2014

I have plesk11.5 and found a big security bug in my script because plesk11 do a strange behavior:

[REMOTE_ADDR] => 95.*.*.*
[SERVER_PORT] => 80
[SERVER_ADDR] => 91.*.*.*
[SERVER_NAME] => domain.com
[SERVER_SOFTWARE] => Apache

[REMOTE_ADDR] => 2003:67:4b4b:*
[SERVER_PORT] => 80
[SERVER_ADDR] => 127.0.0.1
[SERVER_NAME] => domain.com
[SERVER_SOFTWARE] => ApacheClick to expand...

View 4 Replies


ADVERTISEMENT

File Server Setup With Nginx...how Do I Choose The Config For The Server

Apr 22, 2009

I just want to use a server for file sharing, it will have nginx and that's it. I'm looking at centos, or freebsd, but I been using centos forever now and I'm not sure how to use freebsd, should I just stay with centos?

Do I tell my hosting provider to just install the OS and give me ssh action and that's it? Don't install any control panels or any other stuff? I want one domain and one subdomain on it though and ftp action.

View 8 Replies View Related

Plesk 11.x / Linux :: Nginx IP When Server Reboot

May 6, 2014

When I reboot my centOS 6.5 + Plesk 11.5 server, Nginx doesn't start and every time I need to go to Server > IP Addresses and click Reread IP.Then Plesk says that need to repair one of these ips, I click repair and then Nginx can start. ( I have 3 ips [2 ipv4 and 1 ipv6] )

View 3 Replies View Related

Plesk 12.x / Linux :: How To Switch To NGINX Only As Web Server

Oct 26, 2014

As the title says: How do I switch to NGINX only as my web server, while disabling/removing apache in Plesk?

View 2 Replies View Related

Plesk 12.x / Linux :: How To Config Mail Server

Aug 7, 2014

I have a little problem configuring the mail server in Plesk 12. I bought a VPS with Plesk 12 is hosted in OVH.es just for learning. I've got an external domain in OVH.es from 1and1.co.uk. The domain is properly configured and all is working well but the mail server.In OVH.es manager I can't create emails for an external domains (it is not allowed), only redirections. This is how it is in the manager: .domain.com MX 1 Redirecciones redirect.ovh.net.Support OVH.es told me that I can configure within plesk 12. I suposse it is in zone DNS but I don't know how to do it.

View 1 Replies View Related

Plesk 12.x / Linux :: Backup Server Config?

Jun 12, 2015

I'm on plesk 12.0.18 and i would like to backup my server config. I have an error Logging::error('Available disk space () is less than required by storage bund...', 'fatal') called at /opt/psa/PMM/agents/shared/Storage/Storage.pm line 523

[URL] ....

the function un cat /usr/local/psa/PMM/agents/shared/HelpFuncs.pm is like that

Code:

sub getMountSpace {
my $mount = shift;
my $df = qx( df -P -k $mount) or die $!;
while ( $df =~ /^(S+)s+(d+)s+(d+)s+(d+)s+(d+\%)s+(S+)$/gm ) {

[Code]...

We've unchecked the disk space verification in backup settings with no more results ...

is it a way to launch the function reserveSpace and/or getMountSpace helper in shell ? to see the returned value ?

or can i launch /usr/local/psa/bin/pleskbackup server -c comand line to backup only the config ?

View 4 Replies View Related

Plesk 12.x / Linux :: Auto Enable Nginx As Default Web Server

Jan 10, 2015

how to automatically enable nginx by default for all domains/subscriptions and or even just as a whole since we do not use apache at all.

View 18 Replies View Related

Plesk 11.x / Linux :: Content From Subdomain Server Alias Over HTTPS Not Being Served By Nginx

Jul 14, 2014

We're running Plesk 11.5 on a CentOS 6.5 VPS and we would like to resolve the following problem:

We've configured a physical subdomain, lets say sub1.mydomain.com, and set up a couple of aliases for that domain in Plesk under:

Web Server Settings for sub1.mydomain.com > Additional Apache directives > "Additional directives for HTTP"

Code:
ServerAlias mysub1.mydomain.com
ServerAlias mysub2.mydomain.com

And

Web Server Settings for sub1.mydomain.com > Additional Apache directives > "Additional directives for HTTPS"

Code:

ServerAlias mysub1.mydomain.com
ServerAlias mysub2.mydomain.com

This config is working fine until we try to load resources from the alias over ssl, I believe something is missing in the Nginx config. I'm not getting any info using the logs.

For example:

http://sub1.mydomain.com/img/myimage.jpg --> works!
https://sub1.mydomain.com/img/myimage.jpg --> works!

http://mysub1.mydomain.com/img/myimage.jpg --> works!
http://mysub1.mydomain.com/img/myimage.jpg --> not loading

http://mysub2.mydomain.com/img/myimage.jpg --> works!
http://mysub1.mydomain.com/img/myimage.jpg --> not loading

Do we need to specify alternative directives for Nginx?

View 1 Replies View Related

Nginx Rewrite Causing Wrong Path For PHP Script

Nov 8, 2008

I have a large chunk of rewrites to help clean up my url's a bit on my site.. On my local machine I am running Apache and just use an .htaccess file and normal php as a module, so no problems there..

But on my server however, I am running Nginx and running PHP as a fastcgi process. In my site's config file I have my fastcgi_param set to /home/user/html/public$fastcgi_script_name...

Well I need a way to change the value of fastcgi_script_name when I have modified (search friendly..) url's that are being rewritten. Because instead of grabbing the script name, like public/text.php?x=z it will grab public/text/post-title.html and then throw me a "No input file given." error (because there is no file there..).

How should I go about sending the true PHP script name to my fastcgi_script_name variable? It just grabs the URI of the PHP script.. what other options are there?

View 1 Replies View Related

Plesk 11.x / Linux :: Wrong Default Domain?

Dec 5, 2014

I recently set up an eas and autodiscover sub-domains on my main domain (eg myserver.com) running Plesk, Webmail etc, and is the default website for the ip.

So it should be..

myserver.com (not SNI default for IP)
eas.myserver.com (SNI)
autodiscover.myserver.com (SNI)

But I notice the actual default site (non SNI) is the sub-domain autodiscover.myserver.com.

I checked in

Plesk -> Tools & Settings -> IP Addresses

and that was set correctly, so I tried to change it and back again, then...

/opt/psa/admin/bin/httpdmng --reconfigure-all

Neither worked.

I'm running Ubuntu 12.04.5 LTS and Plesk 11.5.30 #48 (the latest MU)

View 1 Replies View Related

Plesk 12.x / Linux :: Wrong Permissions After Migration?

Sep 5, 2014

I had a old virtual Server with Ubuntu+Plesk12. I build a new dedicated Server with CentOS6+Plesk12 and migrate all Domains. Now i have a strange problem:

When i upload a file with FTP-User "user1", the file has the permissions Group=psacln & Owner=user1. All is fine, i can see and edit this file in a FTP-Program. But when my website create a file (cache html files or installed plugin folders in wordpress), I can't see, can't edit and can't download this files.

When i login to plesk with the admin account, i can see and edit this files. They have also Group=psacln & Owner=user1 and i can give them 0666 rights but when i login with FTP-User "user1" with my FTP-Program, I didn't see that files?!

View 2 Replies View Related

Plesk 12.x / Linux :: Installing Joomla - Wrong Version Of PHP / Can't Allow SSH

Aug 18, 2014

I'm new to Plesk - I've inherited a web site for a local social club so have just been handed login and password. I believe I have version 11.0.9 and as I can see mention of an Apache webserver I'm guessing its linux.

So - I want to redesign and use Joomla so I can share the content updating with others.

I can't install Joomla as I have PHP 5.1 and need 5.3. I have no 'server' or any sort of option I can find (and I've looked everywhere!) to find a command line or somewhere I can run things.

When I try to allow SSH access the option says Forbidden and there is no option to change it.

View 1 Replies View Related

Plesk 11.x / Linux :: FTP - Wrong Folder And File Permissions

Nov 15, 2013

I have a problem where every folder I ftp onto the server gets given a 700 permission and every file gets a Zero permission. Most of the sites I am adding to this server will be WordPress sites and most of the folders I want to have a permission of 755 and for the files a permission of 644 so my question is how do I change the settings so that any new files ftp'd onto the server get the permission 755 and files get the permission of 644 ?

View 2 Replies View Related

Plesk 12.x / Linux :: Wrong Calculation Of Disk Usage

Mar 12, 2015

I'm running Plesk 12.0.18 on Centos 7, recently I've got emails from backup service stating that it could not complete the backup due to insufficient space available on disk. Normally I have plenty of disk space available so I check the disk using the command

df -h

Filesystem Size Used Avail Use% Mounted on
/dev/root 20G 2.3G 17G 13% /
/dev/md2 91G 82G 4.4G 95% /var

it seems that /var has been growing up a lot,
but if I run the command
du -sh /var
I get a total size of 5.7G (not 82G as stated before)

is Plesk calculating the wrong size or it's me using the wrong commands?

View 3 Replies View Related

Plesk 11.x / Linux :: Administrator-email Sent To Wrong Address

Jul 9, 2014

This is on Ubuntu 12.04 with Plesk 11.5.

I set this up for someone, and temporarily changed the email for the administrative account to my address.

I have since changed this back to the original email, but Plesk keeps sending the administrative emails to my account.

I've pretty much grepped through the entire server for my email in order to stop it sending me emails, but I can't for the life of me find out why it keeps sending these emails to me.

How do I make Plesk send these emails to the right email-account?

The server is using Qmail.

View 4 Replies View Related

Plesk 12.x / Linux :: 502 Bad Gateway Using Nginx

Oct 30, 2014

Today at 12.50 pm my (ubuntu 14.04.1 LTS) server running plesk 12.0.18 suddenly stopped serving websites. Any attempts to access a webpage on any vhost returned the 502 bad gateway using Nginx error messsage.When I looked at the nginx logs, I found messages like:

2014/10/30 14:48:00 [error] 3099#0: *101 connect() failed (111:

Connection refused) while connecting to upstream, client: m.m.m.m, server: , request: "GET /server-status HTTP/1.0", upstream: URL....

Restarting apache & nginx (/etc/init.d/apache2 restart & /etc/init.d/nginx restart) made no difference and I had to reboot to restore http access.

Strangely if I browsed with port 7080 specified (i.e. http://n.n.n.n:7080), this worked fine for all vhosts, so apache (which I believe is listening on this port while nginx listens on port 80) is working fine - nginx is just not able to pass stuff to it?

View 15 Replies View Related

Plesk 11.x / Linux :: How To Update Nginx

May 12, 2014

My current version of nginx in plesk 11.5.44 is 1.5.0 and i would like to update it to the latest stable version which is 1.6.0. However, i cannot seem to manage to do so. I tried with yum update nginx but i receive Package(s) nginx available, but not installed.

View 1 Replies View Related

Plesk 12.x / Linux :: Php Is Not Working On Nginx

Dec 18, 2014

I running magento on plesk 12 and trying to configure nginx, but only home page is working and all other pages are not working with error 404.

View 6 Replies View Related

Plesk 12.x / Linux :: Bad Gateway Nginx

Jun 17, 2015

this is a fresh Plesk 12 installation on a Dedicated Server, on Debian 6. I haven't installed a License key yet.When i tried to run MIgration Manager, the loading was taking forever. Also, when i try to enter Webserver Configurations Troubleshooter, i get 502 Bad Gateway nginx error.In the /var/log/sw-cp-server/error_log i get this error:

Code:
2015/06/17 11:42:47 [error] 3918#0: *52 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: A.B.C.D, server: , request: "GET /modules/configurations-troubleshooter/index.php/index/list HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "X.X.X.X:8443", referrer: "https://X.X.X.X:8443/admin/module/list?context=modules"
When i try to insert a Plesk License, i also get this error:

Code:
2015/06/17 10:29:17 [error] 5643#0: *81 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: A.B.C.D., server: , request: "POST /server/
key_upload.php HTTP/1.1", upstream: "fastcgi://unix:/var/run/sw-engine.sock:", host: "X.X.X.X:8443", referrer: "https://X.X.X.X:8443/server/key_upload.php"

I followed this KB article 118757 but no luck. Also, the server resources are at the lowest usage and there is >2 TB disk space available.

View 2 Replies View Related

Plesk 11.x / Linux :: Updating Nginx To Use TLS 1.2?

Apr 30, 2015

My server admin already upgraded my OpenSSL to version 1.0.1m 19 Mar 2015 and he also upgraded Nginx to 1.6. I'm also running CentOS v5.11 and Plesk v11.5.

However, he tells me that he still can't get TLS 1.2 to work because he noticed that my server uses a different version of Nginx (sw-nginx), which he believes is part of Plesk. How we can get TLS 1.2 working on the Plesk copy of Nginx (sw-nginx)?

View 1 Replies View Related

Plesk 12.x / Linux :: 502 Bad Gateway Nginx

Jun 23, 2015

We have a problem with a magento website. Often (perhaps when we use administration), we have the message "502 Bad Gateway nginx".

We have added server instructions in Plesk Nginx:
proxy_buffers 16 16k;
proxy_buffer_size 32k;
fastcgi_buffer_size 32k;
fastcgi_buffers 16 12k;

But we have still the problem.

We have tried :
[URL] ....
And
[URL] ....

Without results...

The log file say:

[client x.x.x.x] client denied by server configuration: /var/www/vhosts/domain.com/httpdocs/app/etc/local.xml

x.x.x.x is the website IP.

View 4 Replies View Related

Plesk 12.x / Linux :: Redirect From Http To Https Wrong Hostname?

Nov 28, 2014

the hostname is www.domain.com also in the serversettings of plesk. When we go to http://www.domain.com:8443 we become redirected to https://www:8443. The only way to connect to plesk is to use https the redirect from http doesnt work.

View 1 Replies View Related

Plesk 11.x / Linux :: Additional Domain Pointing To Wrong Directory?

May 30, 2014

i'm running the latest version of Plesk 11 on a Ubuntu 12.04 system.

We have a customer with a domain and this customer added other domains to his account.

now, 2 domains are not working, he created the as usual, Plesk created the directories under /vhosts/domain.com/domain1.com and the vhosts.conf are also correct.

when i'm opening the domain in the browser, i get the following error message:

The requested URL /var/www/vhosts/domain.com/index.php was not found on this server.

View 3 Replies View Related

Plesk 11.x / Linux :: Webmail Horde - Showing Wrong Time

Jul 11, 2014

I have a problem with webmail (horde). Horde Webmail show the wrong time, 2 hours to late. It look like that horde show the UTC time, but not the CEST "Europe/Berlin" of my server. I can change that over "preferences" -> "global preferences" -> "locale and time" and change "Your current time zone" from "Default" to "Europe/Berlin". This will now show the correct time (timezone), but this is not the solution because this will do all webmail users.

How can i change the default timezone in Horde?

Output from shell

#my timezone and this will show in all things but not in webmail horde
[root@www /]# date
Fr 11. Jul 17:32:14 CEST 2014

#this time look like the default time in horde
[root@www /]# date -u
Fr 11. Jul 15:33:31 UTC 2014

View 6 Replies View Related

Plesk 12.x / Linux :: Greylisting Filter Wrong HELO Hostname

Sep 23, 2014

Seems this started when upgrading to a version of 12. It was working a few days ago and only seems to affect mailing lists. I found a google Cached thread here where Igor was assisting some folks as late as Aug 4 and referenced this was "reported to development (PPP-10678 for your reference)" it seems the forums on Parallels changed or something because several Google links are not working and resulting in having to used cached results for the two links below.

I am able to disable SPF and the e-mails go through just fine however this was working with SPF enabled before a recent upgrade.

Page 1
[URL] ....

Page 2
[URL] ....

This is the error message displayed in /var/log/maillog
Sep 24 01:38:35 controlpanel postfix/smtpd[3725]: connect from localhost[127.0.0.1]
Sep 24 01:38:35 controlpanel postfix/smtpd[3725]: D565017C013E: client=localhost[127.0.0.1]
Sep 24 01:38:35 controlpanel greylisting filter[3899]: Starting greylisting filter...

[Code] ....

View 2 Replies View Related

Plesk 12.x / Linux :: How To Remove And Purge Nginx

Jun 10, 2015

Plesk 12 will not do it and if you reinstall it you get errors after installation. Maybe a bug but seems nobody is interested in answering my question before.

I tried to remove by

apt-get remove --purge sw-nginx
dpkg -r sw-ningx

Both of them display that is removed but after a new installation are the folders not created and maybe old files not overwritten if not deleted.

View 1 Replies View Related

Plesk 12.x / Linux :: Error On Enabling Nginx

May 20, 2015

I wanted to activate nginx on my server als describes on [URL] ...

Installing was no problem, but when i try to enable nginx, I always get errors:

/usr/local/psa/admin/sbin/nginxmng -e
[2015-05-20 10:42:36] ERR [util_exec] proc_close() failed
Error occured while sending feedback. HTTP code returned: 502
[2015-05-20 10:42:37] ERR [util_exec] proc_close() failed

[Code] ....

View 7 Replies View Related

Plesk 12.x / Linux :: How To Set Nginx To Show Real IP

Mar 23, 2015

Is here a tutorial special for plesk 12 that show me how set nginx to show real visitor ip in access_log and php?

Actual nginx show for IPv6 visitors the own server IPv6 in access_log and php.

View 5 Replies View Related

Plesk 12.x / Linux :: ERROR IP Nginx After UPDATE

Mar 18, 2015

how is it possible that after an update my main site is down? This site: www.orderhosting.it has plesk Panel and I have 20 sites. They work perfectly but my main site is off. I think there is an error in the configuration because:

[root@orderhosting ~]# grep -r 199.99.36.73 /etc/nginx/
[root@orderhosting ~]#

This is strange.Error log does not report any errors, only this: [warn] RSA server certificate CommonName (CN) `Parallels Panel' does NOT match server name!?

View 7 Replies View Related

Plesk 12.x / Linux :: How To Change Ports Of Nginx

Jul 9, 2014

how to change ports of Nginx from 80 to 8080 I would like install Varnish

View 2 Replies View Related

Plesk 12.x / Linux :: Bad Gateway Nginx After Upgrade

Aug 18, 2014

I have upgraded from 10 to 12 and now I have "502 Bad Gateway nginx" error. I have atached logas..

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved