Update examples
This commit is contained in:
parent
8d80d21f15
commit
b26e445ee7
|
@ -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://###.###.###.###:####;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue