Public Repository

Last pushed: 5 months ago
Short Description
very simple Nginx webserver that does nothing else than redirecting HTTP to HTTPS.
Full Description

Let your load balancer get health information from http:// on location /get_status. Only local IP's are allowed to do it.
(ps: This does not work on Amazon Application Load Balancers).

    server {
      listen       80;
      location / {
        return 301 https://$host$request_uri;
      }

    location /nginx_status {
        stub_status on;
        access_log off;

        allow 127.0.0.1;
        allow 10.0.0.0/8;
        allow 172.16.0.0/12;
        allow 192.168.0.0/16;
        deny all;
      }
    }
Docker Pull Command
Owner
roelofn