How to config nginx run domain/folder ?

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
ducmu
Posts: 3
Joined: Thu Aug 31, 2017 1:17 am

How to config nginx run domain/folder ?

Postby ducmu » Thu Aug 31, 2017 2:58 am

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 :)

skurudo
VestaCP Team
Posts: 7798
Joined: Fri Dec 26, 2014 2:23 pm
Location: Moscow
Contact:

Re: How to config nginx run domain/folder ?

Postby skurudo » Thu Aug 31, 2017 1:20 pm

This is not default VestaCP path, try to check with paths

Code: Select all

alias /home/dragonballwiki.net/public_html/xemphim;
-> DigitalOcean competition - please, support us
-> fix for phpmyadmin - nice and sweet now

ducmu
Posts: 3
Joined: Thu Aug 31, 2017 1:17 am

Re: How to config nginx run domain/folder ?

Postby ducmu » Sat Sep 02, 2017 8:22 am

my server is nginx not nginx-apache (vestaCP) :(


Return to “Web Server”



Who is online

Users browsing this forum: No registered users and 8 guests

cron