![]() If you do find any please raise a GH issue to let me know To do this, run the following command: nano /etc/nginx/sites-available/i. and paste the code below.A custom uploader for ShareX images and files for your server written in Python with Flask.Ĭurrently in beta, there may be some issues. We can now configure our NGINX server block. ![]() If you do not get any errors it is good to go. To check if this worked you can do cd /var/. In this example that will be /var/To create this folder, run mkdir /var/. Configuring NGINX Server Blockįirst, we need to create a folder in which you will store your images. We can now move onto configuring NGINX for our ShareX image sharing webserver. NGINX is now enabled and our firewall is configured for SSH/Webserver traffic. If you do not do this you will be locked out of your machine! Ufw enable Make sure to allow port 22 in the firewall BEFORE you enable the rules. Now that our dependencies are installed, let's setup our NGINX webserver behind our firewall. Sudo apt-get install certbot python3-certbot-nginx Sudo add-apt-repository ppa:certbot/certbot Sudo apt-get install software-properties-common To make sure everything is running secure, we recommend that you use a firewall and a Let's Encrypt Certbot for our NGINX webserver to secure it. Make sure that you have a machine running which can be reached through SSH and that you have full root access to this machine. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |