1 parent 79c3260 commit 2f7c1ffCopy full SHA for 2f7c1ff
1 file changed
install/debian/8/templates/web/nginx/caching.stpl
@@ -7,7 +7,7 @@ server {
7
error_log /var/log/%web_system%/domains/%domain%.error.log error;
8
9
location / {
10
- proxy_pass http://%ip%:%web_port%;
+ proxy_pass https://%ip%:%web_ssl_port%;
11
12
proxy_cache cache;
13
proxy_cache_valid 15m;
@@ -18,7 +18,7 @@ server {
18
19
location ~* ^.+\.(%proxy_extentions%)$ {
20
proxy_cache off;
21
- root %docroot%;
+ root %sdocroot%;
22
access_log /var/log/%web_system%/domains/%domain%.log combined;
23
access_log /var/log/%web_system%/domains/%domain%.bytes bytes;
24
expires max;
@@ -31,7 +31,7 @@ server {
31
}
32
33
location @fallback {
34
35
36
37
location ~ /\.ht {return 404;}
0 commit comments