I am having a problem with my site. I have also tried many solution posted on this topic but I got no success. Here is my config files:
(1) /etc/nginx/sites-available/ genupdates.com file
server {
server_name www.genupdates.com;
access_log /var/log/nginx/genupdates.com.access.log rt_cache;
error_log /var/log/nginx/genupdates.com.error.log;
root /var/www/genupdates.com/htdocs;
index index.php index.html index.htm;
include common/wpfc-php7.conf;
include common/wpcommon-php7.conf;
include common/locations-php7.conf;
include /var/www/genupdates.com/conf/nginx/*.conf;
(2) /etc/nginx/conf.d/ force-ssl-genupdates.com.conf file
server {
listen 80;
server_name www.genupdates.com genupdates.com;
return 301 https://www.genupdates.com$request_uri;
}
(3) /var/www/genupdates.com/conf/nginx/ ssl.conf file
listen 443 ssl http2;
ssl on;
ssl_certificate /etc/letsencrypt/live/genupdates.com/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/genupdates.com/privkey.pem;
What’s wrong ? Please help?
Thanks in advance