Template for nginx.conf of vhost?
Template for nginx.conf of vhost?
hi,
My Server has a problem. When I create a new vhost, the ';' is missing the end of line:
location /vstats/ {
alias /home/vipsedan/web/vipsedan.vn/stats/;
include /home/vipsedan/conf/web/vipsedan.vn.auth
}
So, how can I change the original template of nginx.conf?
Please help me.
many thanks
My Server has a problem. When I create a new vhost, the ';' is missing the end of line:
location /vstats/ {
alias /home/vipsedan/web/vipsedan.vn/stats/;
include /home/vipsedan/conf/web/vipsedan.vn.auth
}
So, how can I change the original template of nginx.conf?
Please help me.
many thanks
Last edited by saosangmo on Fri Jul 19, 2019 2:56 pm, edited 1 time in total.
-
- Support team
- Posts: 1047
- Joined: Fri Mar 21, 2014 7:49 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: Template for nginx.conf of vhost?
Try rebuild web
Re: Template for nginx.conf of vhost?
Dear Alex Connor,
Could you tell me more details. How can I do it?
location /vstats/ {
alias /home/vipsedan/web/vietsourcinghr.com/stats/;
include /home/vipsedan/conf/web/vietsourcinghr.com.auth
}
Could you tell me more details. How can I do it?
location /vstats/ {
alias /home/vipsedan/web/vietsourcinghr.com/stats/;
include /home/vipsedan/conf/web/vietsourcinghr.com.auth
}
many thanks
Last edited by saosangmo on Fri Jul 19, 2019 2:57 pm, edited 2 times in total.
-
- Support team
- Posts: 1047
- Joined: Fri Mar 21, 2014 7:49 am
- Contact:
- Os: CentOS 6x
- Web: apache + nginx
Re: Template for nginx.conf of vhost?
1. Console
v-rebuild-web-domains USERNAME
2. GUI

v-rebuild-web-domains USERNAME
2. GUI
