Devops
#1
@rahul456 @Tej-Singh-Rana @francilio
Really I did everything as instructed, but kodekloud website didn’t show up.
-
database is imported
-
Deployment is ok, but wp-config.php is missing and I have to create it using wp-config-sample.php
-
No kodekloud website
-
everything is ok!
How did you configure the configMap nginx-config?
Devops
#3
@francilio
kind: ConfigMap
apiVersion: v1
metadata:
name: nginx-config
data:
nginx.conf: |
events {
}
http {
server {
listen 80 default_server;
listen [::]:80 default_server;
root /var/www/html;
index index.html index.htm index.php;
server_name _;
location / {
rewrite .* /index.php;
}
location ~ \.php$ {
include fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME \$document_root\$fastcgi_script_name;
fastcgi_param REQUEST_METHOD \$request_method;
}
}
}