```
server{
- listen 443 ssl;
+ listen 443 ssl http2;
server_name www.yourdomain.com yourdomain.com;
ssl on;
ssl_certificate /path/to/fullchain.pem;
ssl_certificate_key /path/toprivkey.pem;
- ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
+ ssl_protocols TLSv1.2 TLSv1.3;
root /path/to/uguu/dist/;
autoindex off;
Subdomain serving files (do not enable PHP here):
```
server{
- listen 443 ssl;
+ listen 443 ssl http2;
server_name www.subdomain.serveryourfiles.com subdomain.serveryourfiles.com;
ssl on;
ssl_certificate /path/to/fullchain.pem;
ssl_certificate_key /path/to/privkey.pem;
- ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
-
+ ssl_protocols TLSv1.2 TLSv1.3;
+
root /path/where/uploaded/files/are/stored/;
autoindex off;
access_log off;