NGINX on openhabian and add motionEyeOS

i need some help and i like the openhab community for my issues everyone is friendly and helpful in assisting in issues. and this is more a me and nginx issue than anything. i got nginx up and running with HTTPS i am now secure with password authentication for my openhab service. what i cant figure out now and I have been searching and trying, but i just dont understand how to add my motionEyeOS server to the nginx server. i think it is mostly my lack of knowledge, but what i want to accomplish is if i go to it launches openhab (which works currently) and then if i want to go to motionEyeOS it would be i tried a few different things, but only one actually produced anything and it was the site in what looks like text form i have attached my sites-enabled config and then an example of the webpage load i received.

server {
    listen                          80;
    server_name           ;
    return 301                      https://$server_name$request_uri;
server {
    listen                          443 ssl;
    server_name           ;

    ssl_certificate                 /etc/letsencrypt/live/; # or /etc/ssl/openhab.crt
    ssl_certificate_key             /etc/letsencrypt/live/;   # or /etc/ssl/openhab.key
    add_header                      Strict-Transport-Security "max-age=31536000"; # Remove if using self-signed and are having trouble.

    location / {
        proxy_pass                    ;
        proxy_set_header Host                   $http_host;
        proxy_set_header X-Real-IP              $remote_addr;
        proxy_set_header X-Forwarded-For        $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto      $scheme;
        satisfy                                 any;
        allow                         ;
        allow                         ;
        deny                                    all;
        auth_basic                              "Username and Password Required";
        auth_basic_user_file                    /etc/nginx/.htpasswd;

##    location /cameras/ {
##      proxy_pass;
##      proxy_read_timeout 120s;
##        access_log off;
##    }

    #### When using Let's Encrypt Only ####
    location /.well-known/acme-challenge/ {
        root                                    /var/www/;

the page i received as a result of above

if someone could help me out that would be awesome or if i need to hit up the nginx community just let me know like i said before i just really prefer the openhab community with everyones helpful info and posts! it has helped me out in more ways than i can truely explain!