Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Web Server
  • Search

How to config nginx run domain/folder ?

Questions regarding the Web Server
Apache + Nginx, Nginx + PHP5-FPM
Post Reply
  • Print view
Advanced search
3 posts • Page 1 of 1
ducmu
Posts: 3
Joined: Thu Aug 31, 2017 1:17 am
Contact:
Contact ducmu
Skype

Os: Debian 6x
Web: nginx + php-fpm
How to config nginx run domain/folder ?
  • Quote

Post by 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 :)
Top

skurudo
VestaCP Team
Posts: 8099
Joined: Fri Dec 26, 2014 2:23 pm
Contact:
Contact skurudo
Website Facebook Google+ Skype
Twitter

Re: How to config nginx run domain/folder ?
  • Quote

Post by 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;
Top

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

Os: Debian 6x
Web: nginx + php-fpm
Re: How to config nginx run domain/folder ?
  • Quote

Post by ducmu » Sat Sep 02, 2017 8:22 am

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


Post Reply
  • Print view

3 posts • Page 1 of 1

Return to “Web Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password