mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2026-11-15 10:02:27 +01:00
Update nginx configuration to enable HTTP/2
This commit is contained in:
1 file changed
+2
-1
@@ -1,5 +1,6 @@
|
|||||||
server {
|
server {
|
||||||
listen 80 http2;
|
listen 80;
|
||||||
|
http2 on;
|
||||||
server_name nginx.example.com;
|
server_name nginx.example.com;
|
||||||
root /var/www/;
|
root /var/www/;
|
||||||
index index.html index.php;
|
index index.html index.php;
|
||||||
|
|||||||
Reference in new issue
Block a user