1
2
mirror of https://github.com/vimagick/dockerfiles synced 2024-06-20 22:08:39 +00:00
dockerfiles/nifi/nginx.conf
2019-02-26 18:51:53 +08:00

22 lines
677 B
Nginx Configuration File

server {
listen 80;
server_name nifi.example.com;
return 301 https://$host$request_uri;
}
server {
listen 443 ssl;
server_name nifi.example.com;
ssl_certificate ssl/example/example.com.crt;
ssl_certificate_key ssl/example/example.com.key;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_ciphers HIGH:!aNULL:!MD5;
location / {
proxy_set_header X-ProxyScheme https;
proxy_set_header X-ProxyHost $host;
proxy_set_header X-ProxyPort 443;
proxy_set_header X-ProxyContextPath /;
proxy_pass http://127.0.0.1:8080;
}
}