Skip to content

Commit 5a91442

Browse files
committed
replaced nginx_extentions with a proxy_extentions
1 parent 423fcef commit 5a91442

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

install/0.9.8/rhel/templates/web/nginx/default.stpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ server {
44
ssl on;
55
ssl_certificate %ssl_pem%;
66
ssl_certificate_key %ssl_key%;
7-
%elog%error_log /var/log/httpd/domains/%domain%.error.log error;
7+
error_log /var/log/httpd/domains/%domain%.error.log error;
88

99
location / {
1010
proxy_pass https://%ip%:%web_ssl_port%;
11-
location ~* ^.+\.(%nginx_extentions%)$ {
11+
location ~* ^.+\.(%proxy_extentions%)$ {
1212
root %sdocroot%;
1313
access_log /var/log/httpd/domains/%domain%.log combined;
1414
access_log /var/log/httpd/domains/%domain%.bytes bytes;

install/0.9.8/rhel/templates/web/nginx/default.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
server {
22
listen %ip%:%proxy_port%;
33
server_name %domain_idn% %alias_idn%;
4-
%elog%error_log /var/log/httpd/domains/%domain%.error.log error;
4+
error_log /var/log/httpd/domains/%domain%.error.log error;
55
66
location / {
77
proxy_pass http://%ip%:%web_port%;
8-
location ~* ^.+\.(%nginx_extentions%)$ {
8+
location ~* ^.+\.(%proxy_extentions%)$ {
99
root %docroot%;
1010
access_log /var/log/httpd/domains/%domain%.log combined;
1111
access_log /var/log/httpd/domains/%domain%.bytes bytes;

0 commit comments

Comments
 (0)