mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-04-20 20:39:18 +00:00
27 lines
545 B
Plaintext
27 lines
545 B
Plaintext
|
server {
|
||
|
listen 8000;
|
||
|
server_name <DOMAIN>;
|
||
|
return 301 https://$host$request_uri;
|
||
|
}
|
||
|
|
||
|
server {
|
||
|
listen 4430 ssl spdy http2;
|
||
|
server_name <DOMAIN>;
|
||
|
|
||
|
ssl_certificate <CERTIFICATE_PATH>;
|
||
|
ssl_certificate_key <KEY_PATH>;
|
||
|
|
||
|
include /etc/nginx/conf/ssl_params;
|
||
|
include /etc/nginx/conf/headers_params;
|
||
|
|
||
|
#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;
|
||
|
}
|
||
|
}
|