Question
403 Forbidden in nginx/1.12.0 after Install SSL (CentOS6)
I’m install Wordpress in CentOS 6 (Nginx)
After installed SSL Certificat I stumble
In error 403 Forbidden nginx/1.12.0
?
/etc/nginx/Conf.d/ssl.conf
HTTPS server
server {
listen 443;
server_name Sitename.com www.Sitename.com;
ssl on;
sslcertificate /etc/ssl/serverchain.crt;
sslcertificatekey /etc/nginx/ssl/server.key;
accesslog /var/log/nginx/nginx.vhost.access.log;
errorlog /var/log/nginx/nginx.vhost.error.log;
location / {
root /var/www/;
index index.html;
}
}
Please Help Me ?
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×
@Mehdifaik
First let me advice you to learn markdown, it makes your questions more readable and better to understand.
Check this markdown cheatsheet for help
https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet