Fix test naive inbound with nginx
This commit is contained in:
@@ -1,22 +1,18 @@
|
||||
server {
|
||||
listen 10000 ssl http2;
|
||||
listen [::]:10000 ssl http2;
|
||||
stream {
|
||||
server {
|
||||
listen 10000 ssl;
|
||||
listen [::]:10000 ssl;
|
||||
|
||||
server_name example.org;
|
||||
ssl_certificate /etc/nginx/cert.pem;
|
||||
ssl_certificate_key /etc/nginx/key.pem;
|
||||
ssl_session_timeout 1d;
|
||||
ssl_session_cache shared:MozSSL:10m; # about 40000 sessions
|
||||
ssl_session_tickets off;
|
||||
ssl_certificate /etc/nginx/cert.pem;
|
||||
ssl_certificate_key /etc/nginx/key.pem;
|
||||
ssl_session_timeout 1d;
|
||||
ssl_session_cache shared:MozSSL:10m; # about 40000 sessions
|
||||
ssl_session_tickets off;
|
||||
|
||||
# modern configuration
|
||||
ssl_protocols TLSv1.3;
|
||||
ssl_prefer_server_ciphers off;
|
||||
# modern configuration
|
||||
ssl_protocols TLSv1.3;
|
||||
ssl_prefer_server_ciphers off;
|
||||
|
||||
# HSTS (ngx_http_headers_module is required) (63072000 seconds)
|
||||
add_header Strict-Transport-Security "max-age=63072000" always;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:10003;
|
||||
proxy_pass 127.0.0.1:10003;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user