mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-19 21:04:06 -07:00
Changing /var/log/httpd/ to /var/log/%web_system%/ (debian9 http2.stpl)
This commit is contained in:
parent
f759088dde
commit
4363244c1a
1 changed files with 3 additions and 3 deletions
|
@ -4,14 +4,14 @@ server {
|
||||||
ssl on;
|
ssl on;
|
||||||
ssl_certificate %ssl_pem%;
|
ssl_certificate %ssl_pem%;
|
||||||
ssl_certificate_key %ssl_key%;
|
ssl_certificate_key %ssl_key%;
|
||||||
error_log /var/log/httpd/domains/%domain%.error.log error;
|
error_log /var/log/%web_system%/domains/%domain%.error.log error;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass https://%ip%:%web_ssl_port%;
|
proxy_pass https://%ip%:%web_ssl_port%;
|
||||||
location ~* ^.+\.(%proxy_extentions%)$ {
|
location ~* ^.+\.(%proxy_extentions%)$ {
|
||||||
root %sdocroot%;
|
root %sdocroot%;
|
||||||
access_log /var/log/httpd/domains/%domain%.log combined;
|
access_log /var/log/%web_system%/domains/%domain%.log combined;
|
||||||
access_log /var/log/httpd/domains/%domain%.bytes bytes;
|
access_log /var/log/%web_system%/domains/%domain%.bytes bytes;
|
||||||
expires max;
|
expires max;
|
||||||
try_files $uri @fallback;
|
try_files $uri @fallback;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue