17 lines
466 B
Nginx Configuration File
17 lines
466 B
Nginx Configuration File
events {}
|
|
http {
|
|
server {
|
|
listen 8443 ssl;
|
|
server_name localhost;
|
|
ssl_certificate /etc/nginx/tls/server.crt;
|
|
ssl_certificate_key /etc/nginx/tls/server.key;
|
|
ssl_protocols TLSv1.2 TLSv1.3;
|
|
location / {
|
|
proxy_pass http://simulator:8006;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Forwarded-Proto https;
|
|
proxy_set_header X-Request-ID $request_id;
|
|
}
|
|
}
|
|
}
|