dockerfiles/boring-nginx/vhost_https.conf

24 lines
456 B
Plaintext
Raw Normal View History

2016-05-30 00:47:27 +02:00
server {
listen 8000;
server_name <DOMAIN>;
return 301 https://$host$request_uri;
}
server {
listen 4430 ssl http2;
server_name <DOMAIN>;
ssl_certificate <CERTIFICATE_PATH>;
ssl_certificate_key <KEY_PATH>;
include /conf.d/ssl_params.conf;
2016-05-30 13:36:53 +02:00
include /etc/nginx/conf/headers_params;
2016-05-30 00:47:27 +02:00
2016-05-30 13:36:53 +02:00
client_max_body_size <MAX_BODY_SIZE>M;
2016-05-30 00:47:27 +02:00
2016-05-30 14:38:08 +02:00
location <WEBROOT> {
2016-05-30 00:47:27 +02:00
proxy_pass http://<CONTAINER>:<PORT>;
include /etc/nginx/conf/proxy_params;
}
}