server {
listen 80;
# listen 443 http3 reuseport;
listen 443 ssl;
root /var/www/trainzcity.myftp.org/html;
index index.html index.htm index.nginx-debian.html;
server_name trainzcity.myftp.org;
ssl_certificate /etc/nginx/certs/0001_chain.pem;
ssl_certificate_key /etc/nginx/certs/key-384r1.key;
ssl_protocols TLSv1.3;
location / {
try_files $uri $uri/ =404;
}
}
server {
listen 80;
# listen 443 http3 reuseport;
listen 443 ssl;
root /var/www/trainzcity.myftp.org/html;
index index.html index.htm index.nginx-debian.html;
server_name nix-adserver.trainzcity.myftp.org;
ssl_certificate /path/to/pki/nix-adserver.trainzcity.myftp.org.crt;
ssl_certificate_key /path/to/pki/nix-adserver.trainzcity.myftp.org.key;
ssl_protocols TLSv1.3;
location / {
try_files $uri $uri/ =404;
}
}
listen 80
и listen 443 ssl
и так позволяют Nginx слушать на всех интерфейсах.*.desktop
) для запуска teamviewer_qs[Desktop Entry]
Version=1.0
Encoding=UTF-8
Type=Application
Categories=Network;
Name=TeamViewer QuickSupport
Comment=Remote control solution.
Exec=/home/path/to/teamviewerqs/tv_bin/script/teamviewer
Icon=/home/path/to/teamviewerqs/tv_bin/desktop/teamviewer_48.png
curl https://pyenv.run | bash
и следуй инструкциям.pyenv install 2.7.18