23 lines
535 B
Nginx Configuration File
23 lines
535 B
Nginx Configuration File
|
events {
|
||
|
worker_connections 2048;
|
||
|
}
|
||
|
|
||
|
http {
|
||
|
server {
|
||
|
listen 8097 ssl;
|
||
|
server_name eldsoft.com;
|
||
|
|
||
|
ssl_certificate /etc/nginx/ssl/eld.crt;
|
||
|
ssl_certificate_key /etc/nginx/ssl/eld.key;
|
||
|
|
||
|
ssl_protocols TLSv1.2 TLSv1.3;
|
||
|
ssl_ciphers HIGH:!aNULL:!MD5;
|
||
|
|
||
|
location / {
|
||
|
proxy_pass http://api:8098;
|
||
|
proxy_set_header X-Real-IP $remote_addr;
|
||
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||
|
}
|
||
|
}
|
||
|
}
|