Closed unnellu closed 6 years ago
nano /vddos/conf.d/redirect.conf
#############################################################################################
############## NON-Security for whitelist directories of your domain:
############## (NON-Security for http://your-domain.com/folden12345)
location /folden12345 {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://72.13.44.113:80;
}
http://72.13.44.113:80 is your backend server
Since vDDOS version 1.13.7, you can create custom rules for each website in the /vddos/conf.d/cus
directory.
nano /vddos/conf.d/cus/your-domain.com.server.conf
#############################################################################################
############## NON-Security for whitelist directories of your domain:
############## (NON-Security for http://your-domain.com/folden12345)
location /folden12345 {
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://72.13.44.113:80;
}
how to make a folder with a disabled firewall? location https://site.com/folden12345/ { proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_pass https://0.0.0.0:443; } does not disable the firewall
Thanks