File name containing the Click the … box and browse to and select the. Friendly name: Type a friendly name for the certificate. The friendly name is not part of the certificate; instead, it is used to identify the certificate. We recommend that you add DigiCert and the expiration date to the end of your friendly name, for example: yoursite-digicert- expiration date. This information helps identify the issuer and expiration date for each certificate. It also helps distinguish multiple certificates with the same domain name. Then expand Sites and click the site you want to use the SSL certificate to secure. The process is split into two parts as follows:. Type: In the drop-down list, select https.
Хостинг Python проекта — настройка uWSGI по шагам: 4 комментария
This article explains how to set up a simple local testing server on your machine, and the basics of how to use it. There are many ways to achieve this. Some examples won't run if you open them as local files. This can be due to a variety of reasons, the most likely being:. To get around the problem of async requests, we need to test such examples by running them through a local web server. Install Python. If you are using Linux or macOS, it should be available on your system already. If you are a Windows user, you can get an installer from the Python homepage and follow the instructions to install it:. To check Python is installed, enter the following command:. This should return a version number.
Setting Up Your Server
A web server faces the outside world. WSGI is a Python standard. At the end, our complete stack of components will look like this:. Make sure you are in a virtualenv for the software we need to install we will describe how to install a system-wide uwsgi later :. In this tutorial we will call your domain example. Of course there are other ways to install uWSGI, but this one is as good as any. Remember that you will need to have Python development packages installed. In the case of Debian, or Debian-derived systems such as Ubuntu, what you need to have installed is pythonX. Y-dev , where X. Y is your version of Python.