Initial Commit
This commit is contained in:
0
vulnbox/nginx/stream/.gitkeep
Normal file
0
vulnbox/nginx/stream/.gitkeep
Normal file
33
vulnbox/nginx/stream/ssl-termination.conf
Normal file
33
vulnbox/nginx/stream/ssl-termination.conf
Normal file
@@ -0,0 +1,33 @@
|
||||
|
||||
upstream backend_ssl_ter {
|
||||
server localhost:3080;
|
||||
}
|
||||
|
||||
upstream backend {
|
||||
server https://express-tls:8443;
|
||||
}
|
||||
|
||||
server {
|
||||
|
||||
listen 3443 ssl;
|
||||
|
||||
more_clear_headers Server;
|
||||
|
||||
proxy_pass backend_ssl_ter;
|
||||
|
||||
|
||||
ssl_certificate /services-keys/ExpressTLS/cert.pem;
|
||||
ssl_certificate_key /services-keys/ExpressTLS/key.pem;
|
||||
ssl_protocols TLSv1.3;
|
||||
|
||||
|
||||
}
|
||||
|
||||
server {
|
||||
|
||||
more_clear_headers Server;
|
||||
|
||||
listen 3080;
|
||||
proxy_pass backend;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user