ubuntu20.04打开安装页面显示空白
Opened this issue · 9 comments
k5nn5x commented
zongchengLi commented
解决了吗?我也遇到了相同的问题
zongchengLi commented
解决了,我用的nginx,部分配置如下:
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
fastcgi_index index.php;
fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
xiaoge19961220 commented
@zongchengLi 我也碰到这个问题了,我这里报错File not found,按照你这个配置也不行
k5nn5x commented
安装不了,换了别的平台了发自我的 iPhone在 2023年12月15日,上午11:34,pengbo ge ***@***.***> 写道:
@zongchengLi 我也碰到这个问题了,我这里报错File not found,按照你这个配置也不行
image.png (view on web)
,大哥你碰到这个问题过没有。22.04+nginx+php7.4
image.png (view on web)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
k5nn5x commented
安装不了,换了别的平台了发自我的 iPhone在 2023年12月15日,上午11:34,pengbo ge ***@***.***> 写道:
@zongchengLi 我也碰到这个问题了,我这里报错File not found,按照你这个配置也不行
image.png (view on web)
,大哥你碰到这个问题过没有。22.04+nginx+php7.4
image.png (view on web)
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: ***@***.***>
zongchengLi commented
@xiaoge19961220 很早之前弄的,现在对于 DzzOffice 没有研究了。建议排查一下,nginx.conf
中对于网站根目录的相关配置,就是 root
这个参数。建议你先放个普通的静态网页试试,看看能不能够正常访问。
zongchengLi commented
@xiaoge19961220 刚刚找到了我之前 DzzOffice 使用的 Nginx 的完整配置文件,你可以参考一下。
user www-data;
worker_processes auto;
pid /run/nginx.pid;
include /etc/nginx/modules-enabled/*.conf;
events {
worker_connections 768;
# multi_accept on;
}
http {
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 120;
types_hash_max_size 2048;
include /etc/nginx/mime.types;
default_type application/octet-stream;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; # Dropping SSLv3, ref: POODLE
ssl_prefer_server_ciphers on;
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log;
gzip on;
client_body_timeout 1200;
client_header_timeout 600;
client_max_body_size 120M;
client_body_buffer_size 100M;
proxy_send_timeout 120;
proxy_read_timeout 300;
server {
listen 80;
listen [::]:80;
index index.php index.html;
server_name test.com;
root /opt/dzzoffice;
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass unix:/var/run/php/php7.4-fpm.sock;
fastcgi_index index.php;
fastcgi_split_path_info ^(.+\.php)(.*)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_NAME $fastcgi_script_name;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
}
}
xiaoge19961220 commented
好的,谢谢大哥
室外温度23摄氏度
***@***.***
…---原始邮件---
发件人: ***@***.***>
发送时间: 2023年12月15日(周五) 晚上8:17
收件人: ***@***.***>;
抄送: "pengbo ***@***.******@***.***>;
主题: Re: [zyx0814/dzzoffice] ubuntu20.04打开安装页面显示空白 (Issue #231)
@xiaoge19961220 刚刚找到了我之前 DzzOffice 使用的 Nginx 的完整配置文件,你可以参考一下。
user www-data; worker_processes auto; pid /run/nginx.pid; include /etc/nginx/modules-enabled/*.conf; events { worker_connections 768; # multi_accept on; } http { sendfile on; tcp_nopush on; tcp_nodelay on; keepalive_timeout 120; types_hash_max_size 2048; include /etc/nginx/mime.types; default_type application/octet-stream; ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; # Dropping SSLv3, ref: POODLE ssl_prefer_server_ciphers on; access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; gzip on; client_body_timeout 1200; client_header_timeout 600; client_max_body_size 120M; client_body_buffer_size 100M; proxy_send_timeout 120; proxy_read_timeout 300; server { listen 80; listen [::]:80; index index.php index.html; server_name test.com; root /opt/dzzoffice; location ~ \.php$ { include fastcgi_params; fastcgi_pass unix:/var/run/php/php7.4-fpm.sock; fastcgi_index index.php; fastcgi_split_path_info ^(.+\.php)(.*)$; fastcgi_param PATH_INFO $fastcgi_path_info; fastcgi_param SCRIPT_NAME $fastcgi_script_name; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; } } }
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: ***@***.***>