plesk

How to start nuxt.js on plesk?

China☆狼群 提交于 2019-12-08 14:01:43
问题 I'm trying to start a nuxt.js project on Plesk. Plesk need a Application Startup File , but nuxt.js have no index file. How can I start the server? Do I have to create a server.js and in this file execute npm run start ? 回答1: I found the solution: In the field Application Startup File you have to put node_modules/nuxt/bin/nuxt-start . 回答2: Need to install nuxt-start module npm i --save nuxt-start in Application Startup File node_modules/nuxt-start/bin/nuxt-start.js 来源: https://stackoverflow

Plesk nginx port 80 no working

▼魔方 西西 提交于 2019-12-08 07:33:52
问题 I have a VPS server with Plesk at OVH and today I did restart the server and page stopped working on port 80. They work on port 7080 for example: moja-domena.pl:7080 I do not know what could have happened because I did not do anything on the server ... My files: #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. #IF YOU REQUIRE TO APPLY CUSTOM MODIFICATIONS, PERFORM THEM IN THE FOLLOWING FILES:

Stale-while-revalidate cache replacement from Varnish

走远了吗. 提交于 2019-12-08 02:16:34
问题 We are currently moving our servers to a new one, with PLESK 12.5 which doesn't support Varnish cache for our PHP applications. We use Varnish, mostly for the 'stale-while-revalidate' capability, so that we can send whole pages or parts (using ESI) without any waiting time for any customer while cache is refreshing. Is there any alternative to Varnish for a similar kind of cache ? Either another "program" that could run on PLESK, or any PHP/server cache ? PLESK comes with NGINX, but it does

Map Domain to WordPress Page

蓝咒 提交于 2019-12-08 00:06:46
问题 Is there a way to map a domain name to a WordPress page ? For example, if I have mydomain.com/about/bio and mydomain.com/about/resume, could I map anotherdomain.com to the about page so I could use anotherdomain.com/bio and anotherdomain.com/resume? Additionally, could I do it with a subdomain too? Using the same example above, could I map about.anotherdomain.com to mydomain.com/about? With WordPress, these aren't physical folders. They're pretty permalinks, so I'm having trouble figuring out

Trouble hosting SQL Server database via Plesk panel

让人想犯罪 __ 提交于 2019-12-07 12:56:06
问题 First I give information about my products subscription, I have one year "Ultimate" subscription for Windows hosting with Plesk in addition I have subscribed for one year of SiteLock. I am trying to host ASP.NET websites with SQL Server databases, I am having hard time doing so. Firstly via the Plesk panel I did the following: I created SQL Server database, then I tried to upload .bak version of my database but unfortunately I got the msg: the feature currently unavailable. unavailable

PHP post_max_size local value overridden by master value on Plesk / IIS?

烂漫一生 提交于 2019-12-07 10:29:44
问题 I'm running into a strange issue when uploading large files via PHP (through Drupal, though that's not the issue). Basically, my file uploads fail due to post_max_size limits being reached, even though the local directive is set to 96M, and the file is 25M. I've ensured everything else is correct, including max_input_time , max_upload_filesize , and the IIS FastCGI idle time. All these are plenty large and not the issue. I am overriding the post_max_size directive through Plesk, which (I

Can't Access Plesk Admin Because Of DOS Attack, Block IP Address Through SSH?

 ̄綄美尐妖づ 提交于 2019-12-07 05:00:48
问题 I can't access Plesk Amdin because of DOS attack; can I block a hostname or IP address through SSH? If so, how would I be able to do this? Thank you! 回答1: If you have iptables you can block it using simple rule: iptables -I INPUT --source 1.2.3.4 -j DROP This rule drops packets coming from IP 1.2.3.4. 回答2: Probably the easiest is to SSH to your box use vim to and add the following to the top of your .htaccess file in the root of your domain ( /var/www/vhosts/yourdomain.com/httpdocs/.htaccess

Stale-while-revalidate cache replacement from Varnish

梦想与她 提交于 2019-12-06 13:42:31
We are currently moving our servers to a new one, with PLESK 12.5 which doesn't support Varnish cache for our PHP applications. We use Varnish, mostly for the 'stale-while-revalidate' capability, so that we can send whole pages or parts (using ESI) without any waiting time for any customer while cache is refreshing. Is there any alternative to Varnish for a similar kind of cache ? Either another "program" that could run on PLESK, or any PHP/server cache ? PLESK comes with NGINX, but it does not seem to provide 'stale-while-revalidate' capabilities ; I also know Squid isn't supported on PLESK.

Map Domain to WordPress Page

孤街醉人 提交于 2019-12-06 13:08:34
Is there a way to map a domain name to a WordPress page ? For example, if I have mydomain.com/about/bio and mydomain.com/about/resume, could I map anotherdomain.com to the about page so I could use anotherdomain.com/bio and anotherdomain.com/resume? Additionally, could I do it with a subdomain too? Using the same example above, could I map about.anotherdomain.com to mydomain.com/about? With WordPress, these aren't physical folders. They're pretty permalinks, so I'm having trouble figuring out how to make this work. We have a Plesk control panel. Thanks for any insight you can provide! Edit:

Trouble hosting SQL Server database via Plesk panel

匆匆过客 提交于 2019-12-06 03:41:57
First I give information about my products subscription, I have one year "Ultimate" subscription for Windows hosting with Plesk in addition I have subscribed for one year of SiteLock. I am trying to host ASP.NET websites with SQL Server databases, I am having hard time doing so. Firstly via the Plesk panel I did the following: I created SQL Server database, then I tried to upload .bak version of my database but unfortunately I got the msg: the feature currently unavailable. unavailable feature for MS database I created a new database user for my database created in step 1, I connected my SQL