server/web/http2
This commit is contained in:
parent
5e445cbdc6
commit
15f3fde9ef
1 changed files with 4 additions and 4 deletions
|
@ -309,16 +309,16 @@ Sites
|
||||||
ssl_certificate_key /etc/nginx/rwx.work/key.pem;
|
ssl_certificate_key /etc/nginx/rwx.work/key.pem;
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl;
|
listen 443 ssl http2;
|
||||||
listen [::]:443 ssl;
|
listen [::]:443 ssl http2;
|
||||||
server_name deb.rwx.work;
|
server_name deb.rwx.work;
|
||||||
root /d/mirrors/apt-mirror/debian;
|
root /d/mirrors/apt-mirror/debian;
|
||||||
autoindex on;
|
autoindex on;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 443 ssl default_server;
|
listen 443 default_server ssl http2;
|
||||||
listen [::]:443 ssl default_server;
|
listen [::]:443 default_server ssl http2;
|
||||||
server_name .rwx.work;
|
server_name .rwx.work;
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://10.0.0.1/;
|
proxy_pass http://10.0.0.1/;
|
||||||
|
|
Loading…
Reference in a new issue