第一个项目

This commit is contained in:
2025-02-16 21:51:06 +08:00
commit 1bbb2f79dc
62 changed files with 956 additions and 0 deletions

20
family_rpa/nginx.config Normal file
View File

@@ -0,0 +1,20 @@
server {
listen 80;
server_name 192.168.3.105;
location / {
proxy_pass http://unix:/project/family_rpa/family_rpa.sock;
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_set_header X-Forwarded-Proto $scheme;
}
location /static/ {
alias /project/family_rpa/static/;
}
location /media/ {
alias /project/family_rpa/media/;
}
}