Update examples

This commit is contained in:
Robert Partridge 2022-07-27 21:23:36 -04:00
parent 8d80d21f15
commit b26e445ee7
2 changed files with 4 additions and 1 deletions

View File

@ -11,6 +11,7 @@ server {
# ssl_certificate /etc/letsencrypt/live/yourdomain.ext/fullchain.pem;
# ssl_certificate_key /etc/letsencrypt/live/yourdomain.ext/privkey.pem;
http2_push_preload on;
add_header Strict-Transport-Security "max-age=31536000";
location / {
@ -21,4 +22,4 @@ server {
# proxy_pass http://localhost:####;
# proxy_pass http://###.###.###.###:####;
}
}
}

View File

@ -3,6 +3,8 @@ server {
listen 443 ssl http2 ;
# server_name www.yourdomain.ext yourdomain.ext;
http2_push_preload on;
# ssl_certificate /etc/letsencrypt/live/yourdomain.ext/fullchain.pem;
# ssl_certificate_key /etc/letsencrypt/live/yourdomain.ext/privkey.pem;