mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
added %elog% variable
This commit is contained in:
parent
718dfc25f2
commit
380f389d13
9 changed files with 20 additions and 17 deletions
|
@ -10,7 +10,7 @@
|
|||
SuexecUserGroup %user% %group%
|
||||
CustomLog /var/log/httpd/domains/%domain%.bytes bytes
|
||||
CustomLog /var/log/httpd/domains/%domain%.log combined
|
||||
#ErrorLog /var/log/httpd/domains/%domain%.error.log
|
||||
%elog%ErrorLog /var/log/httpd/domains/%domain%.error.log
|
||||
<Directory %docroot%>
|
||||
AllowOverride AuthConfig FileInfo Indexes Limit
|
||||
SSLRequireSSL
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
SuexecUserGroup %user% %group%
|
||||
CustomLog /var/log/httpd/domains/%domain%.bytes bytes
|
||||
CustomLog /var/log/httpd/domains/%domain%.log combined
|
||||
#ErrorLog /var/log/httpd/domains/%domain%.error.log
|
||||
%elog%ErrorLog /var/log/httpd/domains/%domain%.error.log
|
||||
<Directory %docroot%>
|
||||
AllowOverride AuthConfig FileInfo Indexes Limit
|
||||
Options +Includes -Indexes +ExecCGI
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
SuexecUserGroup %user% %group%
|
||||
CustomLog /var/log/httpd/domains/%domain%.bytes bytes
|
||||
CustomLog /var/log/httpd/domains/%domain%.log combined
|
||||
#ErrorLog /var/log/httpd/domains/%domain%.error.log
|
||||
%elog%ErrorLog /var/log/httpd/domains/%domain%.error.log
|
||||
<Directory %docroot%>
|
||||
AllowOverride AuthConfig FileInfo Indexes Limit
|
||||
SSLRequireSSL
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
SuexecUserGroup %user% %group%
|
||||
CustomLog /var/log/httpd/domains/%domain%.bytes bytes
|
||||
CustomLog /var/log/httpd/domains/%domain%.log combined
|
||||
#ErrorLog /var/log/httpd/domains/%domain%.error.log
|
||||
%elog%ErrorLog /var/log/httpd/domains/%domain%.error.log
|
||||
<Directory %docroot%>
|
||||
AllowOverride AuthConfig FileInfo Indexes Limit
|
||||
Options +Includes -Indexes +ExecCGI
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
SuexecUserGroup %user% %group%
|
||||
CustomLog /var/log/httpd/domains/%domain%.bytes bytes
|
||||
CustomLog /var/log/httpd/domains/%domain%.log combined
|
||||
ErrorLog /var/log/httpd/domains/%domain%.error.log
|
||||
%elog%ErrorLog /var/log/httpd/domains/%domain%.error.log
|
||||
<Directory %docroot%>
|
||||
AllowOverride All
|
||||
SSLRequireSSL
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
SuexecUserGroup %user% %group%
|
||||
CustomLog /var/log/httpd/domains/%domain%.bytes bytes
|
||||
CustomLog /var/log/httpd/domains/%domain%.log combined
|
||||
ErrorLog /var/log/httpd/domains/%domain%.error.log
|
||||
%elog%ErrorLog /var/log/httpd/domains/%domain%.error.log
|
||||
<Directory %docroot%>
|
||||
AllowOverride All
|
||||
Options +Includes -Indexes +ExecCGI
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
server {
|
||||
listen %ip%:%proxy_port%;
|
||||
listen %ip%:%proxy_ssl_port%;
|
||||
server_name %domain_idn% %alias_idn%;
|
||||
server_name_in_redirect off;
|
||||
#error_log /var/log/httpd/domains/%domain%.error.log error;
|
||||
%elog%error_log /var/log/httpd/domains/%domain%.error.log error;
|
||||
|
||||
location / {
|
||||
proxy_pass http://%ip%:%web_port%;
|
||||
proxy_pass http://%ip%:%web_ssl_port%;
|
||||
|
||||
location ~* ^.+\.(%extentions%)$ {
|
||||
root %docroot%;
|
||||
|
@ -22,11 +22,12 @@ server {
|
|||
}
|
||||
|
||||
location @fallback {
|
||||
proxy_pass http://%ip%:%web_port%;
|
||||
proxy_pass http://%ip%:%web_ssl_port%;
|
||||
}
|
||||
|
||||
location ~ /\.ht {deny all;}
|
||||
location ~ /.svn/ {deny all;}
|
||||
|
||||
Include %home%/%user%/conf/%domain%.nginx.*
|
||||
include %home%/%user%/conf/%domain%.nginx.*;
|
||||
}
|
||||
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
server {
|
||||
listen %ip%:%proxy_ssl_port%;
|
||||
listen %ip%:%proxy_port%;
|
||||
server_name %domain_idn% %alias_idn%;
|
||||
server_name_in_redirect off;
|
||||
#error_log /var/log/httpd/domains/%domain%.error.log error;
|
||||
%elog%error_log /var/log/httpd/domains/%domain%.error.log error;
|
||||
|
||||
location / {
|
||||
proxy_pass http://%ip%:%web_ssl_port%;
|
||||
proxy_pass http://%ip%:%web_port%;
|
||||
|
||||
location ~* ^.+\.(%extentions%)$ {
|
||||
root %docroot%;
|
||||
|
@ -22,11 +22,12 @@ server {
|
|||
}
|
||||
|
||||
location @fallback {
|
||||
proxy_pass http://%ip%:%web_ssl_port%;
|
||||
proxy_pass http://%ip%:%web_port%;
|
||||
}
|
||||
|
||||
location ~ /\.ht {deny all;}
|
||||
location ~ /.svn/ {deny all;}
|
||||
|
||||
Include %home%/%user%/conf/%domain%.nginx.*
|
||||
include %home%/%user%/conf/%domain%.nginx.*;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue