![]() ![]() We believe the risk to customers is minimal. Our core apps and infrastructure were also unaffected, as access to this code is even more limited and strictly controlled. No one’s content, passwords, or payment information was accessed, and the issue was quickly resolved. What follows is a very basic configuration of nginx that is just alright for this setup.We were recently the target of a phishing campaign that successfully accessed some of the code we store in GitHub. We now have to configure nginx to serve files uploaded with Dropshare correctly. Open in your browser and you should see the nginx default page informing you that it has been successfully installed. It has been configured to automatically start on system startup, so there is nothing more to do than starting it right now: # service nginx startįrom now on, the webserver should already be running and serving files from your server. First, we will update the package management sources and install system updates: # apt-get update In this article we will use nginx, a popular fast webserver, to serve files shared with Dropshare. Installing and configuring a web serverģ.1 Installing and configuring a web server.That’s it, you’re logged in as root on your new Droplet. Most probably you will be forced to change the root password upon the first login. Open Terminal.app and login as root user: $ ssh ![]() Meanwhile (in case you did not set up a SSH key in step 1) the email containing the root password of your Droplet should have arrived. We’ve set up a A record pointing to the IP of the newly created Droplet to make the hostname work. Please consult the user guide of your DNS or domain provider for more information about setting up DNS records. In our case, we were using CloudFlare as DNS provider which we set up like this: Head to your DNS or domain provider’s control panel to set up a new A record according to the hostname you selected in step 1. Once that is finished, you will be redirected to your Droplet’s detail page which will expose the IP adress of it. It may take up to 60 seconds for your Droplet to be created. Feel free to adjust these configuration according to your needs. We’re creating a new Droplet for $5 / month in the London 1 data center, enabling IPv6 and using the Ubuntu 14.04 (圆4) image. Otherwise click Add SSH key and follow the instructions to set up the SSH key-based root login for the Droplet. In case you’ve already set up a SSH key in the Control Panel, just select it in the last step before you create the Droplet. You can optionally set up a SSH key for the root user of your new Droplet. Image-wise this article assumes you’re using Ubuntu 14.04 (圆4) or newer, but everything should work as well for any recent Debian version. After selecting a region that is closest to you or the people you are mainly sharing files with, you should as well enable IPv6. The smallest Droplet for $5 / month is perfectly suitable. You have to select a Droplet size of your choice as well. in your DNS or domain providers control panel, once DitialOcean told you the IP address of your new Droplet. Select a hostname of your choice, but make sure you’re able to add a new A record, e.g. Go to the DigitalOcean Control Panel and create a new Droplet. Dropshare for Mac and iOS (Not sure yet? Download the free trial version!).You want to use Dropshare for Mac and iOS with your own server instead of Amazon S3 or Rackspace Cloud Files? Perfect! This article explains how to set up Dropshare for Mac and iOS with a DigitalOcean Droplet. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |