mirror of
https://github.com/linuxserver/reverse-proxy-confs.git
synced 2025-08-14 02:27:24 -07:00
Set http2 at http level
Ref: https://github.com/linuxserver/docker-baseimage-alpine-nginx/pull/167 Signed-off-by: Eric Nemchik <eric@nemchik.com>
This commit is contained in:
parent
d8253f3c1e
commit
4f72dd58bd
229 changed files with 467 additions and 699 deletions
|
@ -1,4 +1,4 @@
|
|||
## Version 2023/05/31
|
||||
## Version 2024/05/29
|
||||
# make sure that your openvscode-server container is named openvscode-server
|
||||
# make sure that your dns has a cname set for openvscode-server
|
||||
# This conf allows accessing internal ports at `PORT` (http) or `PORTs` (https) as subdomain
|
||||
|
@ -6,8 +6,7 @@
|
|||
# Access https port 8080 at `https://8080s.openvscode-server.domain.url`
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
listen *:443 ssl;
|
||||
|
||||
server_name openvscode-server.*;
|
||||
|
||||
|
@ -49,8 +48,7 @@ server {
|
|||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
listen *:443 ssl;
|
||||
|
||||
server_name "~^(?<upstream_port>[0-9]{1,10})\.openvscode-server\..*$";
|
||||
|
||||
|
@ -91,8 +89,7 @@ server {
|
|||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
listen [::]:443 ssl http2;
|
||||
listen *:443 ssl;
|
||||
|
||||
server_name "~^(?<upstream_port>[0-9]{1,10})s\.openvscode-server\..*$";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue