Tag: all in one seo

Working nginx server section for wordpress

Around the web there are many nginx server sections examples or parts of such for wordpress. Below is a working one for ubuntu 16.04 with some extras added (the real domain name is replaced with site.com): server { server_name site.com www.site.com; access_log /var/log/nginx/site.access.log; error_log /var/log/nginx/site.error.log; root /srv/httpd/www/site.com; index index.php index.html; #error_page 404 /404.html; #error_page 403