Category: Nginx

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 server { server_name; access_log /var/log/nginx/site.access.log; error_log /var/log/nginx/site.error.log; root /srv/httpd/www/; index index.php index.html; #error_page 404 /404.html; #error_page 403