robertqiu
Forum Replies Created
Viewing 3 replies - 1 through 3 (of 3 total)
-
Forum: Installing WordPress
In reply to: Install WordPress fail using dockerThis is the link I used to install wordpress via docker:
https://upcloud.com/community/tutorials/wordpress-with-docker/Forum: Fixing WordPress
In reply to: Problem after upgrade to httpsthank, solved. Huge help!
I completely understand the meaning of “mixed-content”, which means the mixture of “https:xxxx” and “http:xxxx”.Forum: Installing WordPress
In reply to: No way starting the wordpress installation in webFigure it out!
Two reasons:
1) update /etc/nginx/nginx.conf, modify the root path[root@VM_16_8_centos wordpress]# cat /etc/nginx/nginx.conf # For more information on configuration, see: # * Official English Documentation: http://nginx.org/en/docs/ # * Official Russian Documentation: http://nginx.org/ru/docs/ user nginx; worker_processes auto; error_log /var/log/nginx/error.log; pid /run/nginx.pid; # Load dynamic modules. See /usr/share/nginx/README.dynamic. include /usr/share/nginx/modules/*.conf; events { worker_connections 1024; } http { log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$http_x_forwarded_for"'; access_log /var/log/nginx/access.log main; sendfile on; tcp_nopush on; tcp_nodelay on; keepalive_timeout 65; types_hash_max_size 2048; include /etc/nginx/mime.types; default_type application/octet-stream; # Load modular configuration files from the /etc/nginx/conf.d directory. # See http://nginx.org/en/docs/ngx_core_module.html#include # for more information. include /etc/nginx/conf.d/*.conf; server { listen 80 default_server; listen [::]:80 default_server; server_name _; #root /usr/share/nginx/html; root /var/www/wordpress; # Load configuration files for the default server block. include /etc/nginx/default.d/*.conf; location / { root /var/www/wordpress; index index.php index.html index.htm; } # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000 # location ~ \.php$ { root /var/www/wordpress; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; include fastcgi_params; #Enable fastcgi interception error log fastcgi_intercept_errors on; } error_page 404 /404.html; location = /40x.html { } error_page 500 502 503 504 /50x.html; location = /50x.html { } } # Settings for a TLS enabled server. # # server { # listen 443 ssl http2 default_server; # listen [::]:443 ssl http2 default_server; # server_name _; # root /usr/share/nginx/html; # # ssl_certificate "/etc/pki/nginx/server.crt"; # ssl_certificate_key "/etc/pki/nginx/private/server.key"; # ssl_session_cache shared:SSL:1m; # ssl_session_timeout 10m; # ssl_ciphers HIGH:!aNULL:!MD5; # ssl_prefer_server_ciphers on; # # # Load configuration files for the default server block. # include /etc/nginx/default.d/*.conf; # # location / { # } # # error_page 404 /404.html; # location = /40x.html { # } # # error_page 500 502 503 504 /50x.html; # location = /50x.html { # } # } }2)php-fpm is not started
service nginx restart netstat -ntulp |grep 9000 service php-fpm restart- This reply was modified 6 years, 9 months ago by Jan Dembowski.
Viewing 3 replies - 1 through 3 (of 3 total)