Update http2 listen directive to align with deprecation

This commit is contained in:
Samuel Huang
2024-08-01 21:00:26 +10:00
parent 7ff5cd9a79
commit 09e3f7aefc

View File

@@ -1,6 +1,7 @@
server {
listen NGPORT ssl http2;
listen [::]:NGPORT ssl http2;
listen NGPORT ssl;
listen [::]:NGPORT ssl;
http2 on;
server_name NGDOMAIN;
ssl_certificate CERTFILE;
ssl_certificate_key PRVKEYFILE;