By shivaprasad
Hi Team,
Am unable to copy and paste the below properly qs it is replacing the other code on /etc/nginx/sites-available/default
location / {
proxy_pass http://localhost:3000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
using the droplet- console using sudo vim and sudo nano .
Kindly check and let know how to paste in the above location?
Thanks and Regards Shivaprasad.G
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @shivaprasad,
Unfortunately, at the moment the Copy/Paste functions do not work properly. I’ll suggest writing those manually or us a terminal from your laptop directly.
Keep in mind that you can also put the posted information in a file hosted on any Dropbox or remote server and then you can just download it via the console using curl or wget.
Regards, KFSys
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.