Skip to content

Commit 2c08a1a

Browse files
committed
Update nginx sample config with production's copy
1 parent 8eaa763 commit 2c08a1a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

etc/nginx-vhost-sample.conf

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ server {
2828

2929
listen 80;
3030
listen [::]:80;
31-
listen 443 ssl spdy;
32-
listen [::]:443 ssl spdy;
31+
listen 443 ssl http2;
32+
listen [::]:443 ssl http2;
3333
server_name .www.bnetdocs.org;
3434

3535
include conf.d/error-pages.conf;
@@ -52,16 +52,16 @@ server {
5252
ssl_certificate sites-certs/bnetdocs-www.crt;
5353
ssl_certificate_key sites-certs/bnetdocs-www.key;
5454

55-
listen 443 ssl spdy;
56-
listen [::]:443 ssl spdy;
55+
listen 443 ssl http2;
56+
listen [::]:443 ssl http2;
5757
server_name bnetdocs.org;
5858

5959
include conf.d/error-pages.conf;
6060
include conf.d/gzip.conf;
6161
include conf.d/url-filter*.conf;
6262

6363
set $PHP_DISPLAY_ERRORS "On";
64-
set $PHP_ERROR_REPORTING "32767";
64+
set $PHP_ERROR_REPORTING "32767"; # E_ALL
6565
set $NEWRELIC_APPNAME "BNETDocs: Phoenix";
6666
set $PHP_SHORT_TAG "Off";
6767

0 commit comments

Comments
 (0)