how do i set index priorty on nginx in order to load index.html before wordpress' .php files

Posted by orbitalshocK on Server Fault See other posts from Server Fault or by orbitalshocK
Published on 2014-08-24T03:58:17Z Indexed on 2014/08/24 4:22 UTC
Read the original article Hit count: 442

hello there, gents.

I'm an absolute beginner in linux, the CLI, as well as nginx and wordpress.

i'm trying to make a 'coming soon' landing page that will take priority over the main wordpress installation i just set up. I want to make .html load before php, or get information on the Best Practices approach to this.

I just now realized i could easily use the wordpress' generic "under construction" page and modify it. I'm sure it has one; i'm sure there's a plugin.

Stats

  • linode 1024
  • ubuntu 12.04
  • nginx 1.6.1
  • single wordpress installation (for now)
  • set up using easyengine, but going to restart and configure nginx for my linode specifically probably.

I managed to find one piece of instruction on how to change the httpd file to specify priority for apache 2, but did not find the same documentation for nginx. If it's not on the first page of google, then serverfault needs the question answered! Viva la Server Fault first page results!

© Server Fault or respective owner

Related posts about ubuntu

Related posts about nginx