25 lines
567 B
Nginx Configuration File
25 lines
567 B
Nginx Configuration File
events {
|
|
worker_connections 2048;
|
|
}
|
|
|
|
http {
|
|
charset utf-8;
|
|
|
|
server {
|
|
listen 8097 ssl;
|
|
server_name eldsoft.com;
|
|
|
|
ssl_certificate /etc/nginx/ssl/fullchain.pem; # full chain
|
|
ssl_certificate_key /etc/nginx/ssl/privkey.pem;
|
|
|
|
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;
|
|
}
|
|
}
|
|
}
|