add reverse based on xataz/reverse (temporary)

This commit is contained in:
root
2017-09-18 16:50:02 +02:00
parent f1d9053bb8
commit fed0136973
19 changed files with 759 additions and 0 deletions

View File

@ -0,0 +1,5 @@
location <frontend_path> {
include /nginx/conf.d/proxy.conf;
client_max_body_size <frontend_domain_max_body_size>;
proxy_pass http://<backend_addr>:<backend_port>;
}

View File

@ -0,0 +1,7 @@
location <frontend_path> {
include /nginx/conf.d/proxy.conf;
auth_basic "Who's this?";
auth_basic_user_file "<auth_file>";
client_max_body_size <frontend_domain_max_body_size>;
proxy_pass http://<backend_addr>:<backend_port>;
}