0
我一直在nginx的服務器上安裝Joomla。一切工作按照最初的計劃,我已經在服務器上安裝了Joomla。甚至設置自定義主題。Joomla和nginx頁面在刷新時掛起
當我刷新網站中的頁面(包括admin /前端)時,會發生此問題。您可以預覽網站here。
另外我可以看到,一些js/css文件在刷新命中時沒有正確傳遞。它在Chrome開發人員選項卡中顯示「正在等待」。
下面是該網站
server {
listen 80; ## listen for ipv4; this line is default and implied
#listen [::]:80 default ipv6only=on; ## listen for ipv6
root /var/apps/nickies/public_html;
# index index.html index.htm;
index index.php index.html index.htm default.html default.htm;
# Make site accessible from http://localhost/
server_name nickies.proitzen.com;
#fastcgi_buffers 8 16k;
# fastcgi_buffer_size 32k;
#fastcgi_read_timeout 180;
# gzip on;
#gzip_http_version 1.1;
#gzip_comp_level 6;
#gzip_min_length 1100;
#gzip_buffers 4 8k;
#gzip_types text/plain application/xhtml+xml text/css application/xml application/xml+rss text/javascript application/javascript application/x-javascr$
# gzip_proxied any;
# gzip_disable "MSIE [1-6]\.";
location/{
try_files $uri $uri/ /index.php?$args;
}
# deny running scripts inside writable directories
location ~* /(images|cache|media|logs|tmp)/.*\.(php|pl|py|jsp|asp|sh|cgi)$ {
return 403;
error_page 403 /403_error.html;
}
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
# include /etc/nginx/fastcgi.conf;
}
# caching of files
location ~* \.(ico|pdf|flv)$ {
expires 1y;
}
location ~* \.(js|css|png|jpg|jpeg|gif|swf|xml|txt)$ {
expires 14d;
}
}
難道這是nginx的或Joomla安裝問題的nginx的配置?請有人賜教我嗎?