mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-07-03 15:45:43 +00:00
add nginx image
This commit is contained in:
14
nginx/vhost_http.conf
Normal file
14
nginx/vhost_http.conf
Normal file
@ -0,0 +1,14 @@
|
||||
server {
|
||||
listen 8000;
|
||||
server_name <DOMAIN>;
|
||||
|
||||
#client_max_body_size <MAX_BODY_SIZE>M;
|
||||
|
||||
#auth_basic "Who's this?";
|
||||
#auth_basic_user_file /passwds/<NAME>.htpasswd;
|
||||
|
||||
location <WEBROOT> {
|
||||
proxy_pass http://<CONTAINER>:<PORT>;
|
||||
include /etc/nginx/conf/proxy_params;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user