lab7
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
events {}
|
||||
http {
|
||||
server {
|
||||
listen 8443 ssl;
|
||||
ssl_certificate /tls/server/cert.crt;
|
||||
ssl_certificate_key /tls/server/cert.key;
|
||||
ssl_client_certificate /tls/ca.crt;
|
||||
ssl_verify_client on;
|
||||
ssl_protocols TLSv1.2 TLSv1.3;
|
||||
if ($ssl_client_s_dn != "CN=lab-lb") { return 403; }
|
||||
client_max_body_size 10m;
|
||||
location / { proxy_pass http://127.0.0.1:8080; proxy_set_header Host $host; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user