How to setup Let's Encrypt for Nginx on Ubuntu 18.04 (including IPv6, HTTP/2 and A+ SLL rating)
Virtual hosts
Let's say you want to host domains first.com
and second.com
.
Create folders for their files:
curl -L -H 'Accept: application/octet-stream' -H "Authorization: token $TOKEN" 'https://api.github.com/repos/:owner/:repo/releases/assets/:asset_id' --output output.format |
{ | |
"openapi": "3.0.3", | |
"info": { | |
"title": "Bmi Screen Event", | |
"description": "All of events will be there which one is trigger on Bmi Screen ui", | |
"version": "1.0.0" | |
}, | |
"paths": {}, | |
"tags": [{ | |
"name": "Event Details" |
{"lastUpload":"2021-10-16T17:27:58.934Z","extensionVersion":"v3.4.3"} |
license: mit |
license: mit |
sudo bash -c "echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf" | |
sudo bash -c "echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf" | |
sudo update-initramfs -u |
Let's say you want to host domains first.com
and second.com
.
Create folders for their files:
# Need at least Python 3.7 To Run this code | |
import asyncio | |
import aiohttp | |
endpoint = "https://randomuser.me/api/" | |
num_concurrent_requests = 20 | |
async def fetch(session, url): | |
async with session.get(url) as response: |