CurrStatVDP/Conf/nginx.conf

22 lines
489 B
Nginx Configuration File
Raw Normal View History

2024-09-21 02:42:56 +05:00
server {
listen *:443 ssl;
server_name *domain_name*;
access_log *path_to_log*/access.log main;
error_log *path_to_log*/error.log error;
ssl_certificate *path_to_cert*/fullchain.pem;
ssl_certificate_key *path_to_cert*/privkey.pem;
ssl_protocols SSLv3 TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers "RC4:HIGH:!aNULL:!MD5:!kEDH";
location /api/ {
proxy_pass *link_to_listen_api*;
}
root *path_to_web_dir*;
index index.html;
location / {
index index.html;
}
}