mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-07-02 23:25:41 +00:00
add reverse based on xataz/reverse (temporary)
This commit is contained in:
5
reverse/rootfs/nginx/path.d/template
Normal file
5
reverse/rootfs/nginx/path.d/template
Normal 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>;
|
||||
}
|
7
reverse/rootfs/nginx/path.d/template_auth
Normal file
7
reverse/rootfs/nginx/path.d/template_auth
Normal 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>;
|
||||
}
|
Reference in New Issue
Block a user