Odoo 17 – Deployment and running with Nginx
Source installation and running Although Odoo provides packaged installers for convenience, I prefer to download the source code and run […]
Source installation and running Although Odoo provides packaged installers for convenience, I prefer to download the source code and run […]
项目目录结构 docker-compose.yml config.json 拉取镜像并启动容器 在项目目录下执行命令 sudo docker compose up -d. 使用 sudo docker ps 检查容器状态:
nginx、php-fpm、php 三者的配置文件中都有 error_log 项,指定各自错误日志的保存路径。理论上它们三者的错误应该不会重合,即 nginx error_log 记录的是 nginx 进程自己的错误,php-fpm error_log 记 […]
1. 发现问题 两年前就把我的 hawu.me 开启了 https,用的 Let’s Encrypt 的免费证书。但因为只是自用,而且由于墙的原因,从来没有留意过加载速度慢的问题。今天特意观察了一下,初次打开网站居然要耗时4、5秒,这还不包括加 […]
windows下启动mysql、php、nginx ::关闭回显 @echo off set WNMP_HOME=C:/wnmp set NGINX_HOME=C:/wnmp/nginx-1.14.0 set PHP_HOME=C:/wnmp/php-7. […]
nginx默认配置文件中对php的支持是这样的: # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 # #location ~ \.php$ { # root html […]
nginx使用反向代理将url转移给tomcat的8080端口。 server { listen 80; server_name www.domain.com; location / { root html; index index.html index. […]
现在用户在输入url访问网站的时候通常不会再去敲http://www这样的前缀,而习惯直接敲域名。http会由浏览器自动添加,但www就必须由站长们来配置了。 首先需要在dns解析上配置对根域名的域名解析: 然后修改nginx的配置: # 301 redi […]
最近看到nginx的error日志里总有这样的错误: 2015/03/16 17:17:42 [error] 27690#0: *1 FastCGI sent in stderr: “Primary script unknown” […]