mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-07-03 07:35:41 +00:00
UNMAINTAINED
This commit is contained in:
5
unmaintained/reverse/rootfs/nginx/path.d/template
Normal file
5
unmaintained/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
unmaintained/reverse/rootfs/nginx/path.d/template_auth
Normal file
7
unmaintained/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