mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 13:04:23 +00:00
Learn some basic algorithms via
https://github.com/trekhleb/javascript-algorithms?tab=readme-ov-file super cool repo! This algorithm will just run on the client, if it isn't my server will blow up :( Maybe I will just make a postgres db that sends the users processing info to save other users processing power?
This commit is contained in:
parent
2f2b4b1d19
commit
edd8e5b05a
13 changed files with 127 additions and 462 deletions
24
nginx.conf
Normal file
24
nginx.conf
Normal file
|
@ -0,0 +1,24 @@
|
|||
server {
|
||||
listen 80;
|
||||
listen 443 ssl;
|
||||
ssl_certificate /etc/letsencrypt/live/news.yuanhau.com/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/news.yuanhau.com/privkey.pem;
|
||||
server_name news.yuanhau.com;
|
||||
access_log /var/log/nginx/news_analyze.access.log;
|
||||
error_log /var/log/nginx/news_analyze.error.log;
|
||||
|
||||
location / {
|
||||
proxy_pass http://127.0.0.1:36694;
|
||||
proxy_set_header X-real-IP $remote_addr;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Forward-For $proxy_add_x_forwarded_for;
|
||||
proxy_read_timeout 24h;
|
||||
proxy_send_timeout 24h;
|
||||
keepalive_timeout 24h;
|
||||
chunked_transfer_encoding on;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Connection '';
|
||||
proxy_buffering off;
|
||||
proxy_cache off;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue