@@ -97,6 +97,11 @@ function hyproxy_make($server_name){//done
|
||||
server_name %s;
|
||||
index %s;
|
||||
|
||||
#error_page
|
||||
location /ErrorPages/ {
|
||||
alias /home/wwwroot/index/etc/html/ErrorPages/;
|
||||
}
|
||||
|
||||
location / {
|
||||
default_type text/html;
|
||||
proxy_cache hyproxy;
|
||||
@@ -120,6 +125,11 @@ function hyproxy_make($server_name){//done
|
||||
server_name %s;
|
||||
index %s;
|
||||
|
||||
#error_page
|
||||
location /ErrorPages/ {
|
||||
alias /home/wwwroot/index/etc/html/ErrorPages/;
|
||||
}
|
||||
|
||||
location / {
|
||||
default_type text/html;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
|
||||
Reference in New Issue
Block a user