4 Star 18 Fork 5

emlog / emlog

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
nginx.conf 699 Bytes
一键复制 编辑 Web IDE 原始数据 按行查看 历史
emlog 提交于 2023-02-21 09:42 . fix:Fix missing port numbers
# for docker nginx config
upstream phpupstream {
server php:9000 fail_timeout=5s max_fails=5;
}
server {
listen 8080;
server_name localhost;
root /app/emlog;
index index.php index.html index.htm;
client_max_body_size 2048M;
location / {
if (!-e $request_filename) {
rewrite ^/(.*)$ /index.php last;
}
}
location ~ \.php$ {
fastcgi_pass phpupstream;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
}
}
PHP
1
https://gitee.com/snowsun/emlog.git
git@gitee.com:snowsun/emlog.git
snowsun
emlog
emlog
master

搜索帮助

14c37bed 8189591 565d56ea 8189591