Page 1 of 1

How to config nginx run domain/folder ?

Posted: Thu Aug 31, 2017 2:58 am
by ducmu
I run web type : domain/folder . All is wordpress source

but some one run, some one error permalink

Demo:
http://dragonballwiki.net/xemphim (run ok)
http://dragonballwiki.net/doctruyen (access home ok, but access post: 404 not found)
http://dragonballwiki.net/nghenhac (i choose permalink "Plain" is ok, but other type: 404 not found post)

this is my config file nginx: https://pastebin.com/Bx4T1L7R

thanks :)

Re: How to config nginx run domain/folder ?

Posted: Thu Aug 31, 2017 1:20 pm
by skurudo
This is not default VestaCP path, try to check with paths

Code: Select all

alias /home/dragonballwiki.net/public_html/xemphim;

Re: How to config nginx run domain/folder ?

Posted: Sat Sep 02, 2017 8:22 am
by ducmu
my server is nginx not nginx-apache (vestaCP) :(