feat(backend) rebuild start

This commit is contained in:
lumither committed 2025-02-17 15:27:41 -08:00
1 parent 8938c96409
commit acd0525513
45 files changed
+69 -2029

No files matched your search

+32
View File
@@ -0,0 +1,32 @@
server {
listen 80;
listen 443 ssl;
server_name lumither.com;
# ssl_certificate certs/cert.pem;
# ssl_certificate_key certs/key.pem;
ssl_session_cache shared:SSL:1m;
ssl_session_timeout 5m;
ssl_ciphers HIGH:!aNULL:!MD5;
ssl_prefer_server_ciphers on;
location / {
default_type text/html;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://127.0.0.1:3000;
proxy_redirect off;
}
location /api/ {
rewrite ^/api(/.*)$ $1 break;
proxy_pass http://127.0.0.1:3001;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
}
}