摘要: server { server_name erp.shudou.cn listen 80; location / { proxy_pass http://127.0.0.1:8069; } } server { server_name shudou.cn www.shudou.cn listen 8 阅读全文
posted @ 2023-10-15 19:54 CrossPython 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 静态: STATIC_URL = 'static/'STATIC_ROOT = os.path.join(BASE_DIR, 'static')STATICFILES_DIRS = ( os.path.join(BASE_DIR, 'static'), # 上线部署后把这删除, 以免和上面的冲突.) 阅读全文
posted @ 2023-10-15 19:39 CrossPython 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 用户拓展 https://www.jb51.net/article/283886.htm https://www.jb51.net/article/167864.htm 阅读全文
posted @ 2023-10-15 11:38 CrossPython 阅读(4) 评论(0) 推荐(0) 编辑